Skip to content

Commit 48d0dd3

Browse files
committed
Update _erg_str.py
1 parent 0bfc1c8 commit 48d0dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/erg_compiler/lib/core/_erg_str.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def update(self, f):
8383

8484
def try_new(s: str):
8585
if isinstance(s, str):
86-
self = StrMut()
86+
self = StrMut("")
8787
self.value = s
8888
return self
8989
else:

0 commit comments

Comments
 (0)