Skip to content

Commit 70fabbd

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # string_py/string_py.py
2 parents 119c6a9 + 3a3529c commit 70fabbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

string_py/string_py.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def remove(self, chars: str | list[str]) -> str:
139139
The chars you want to remove
140140
"""
141141
if type(chars) is str:
142-
chars = [chars]
142+
list(chars)
143143
for x in chars:
144144
self.values = self.values.replace(x, "")
145145
return self.values

0 commit comments

Comments
 (0)