We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb1dab4 commit 5805c1aCopy full SHA for 5805c1a
1 file changed
strings/split.py
@@ -21,7 +21,7 @@ def split(string: str, separator: str = " ") -> list:
21
22
split_words = []
23
if(len(separator)>1):
24
- raise ValueError("Separator must be a single character!")
+ raise ValueError("Separator is for single character only")
25
26
last_index = 0
27
for index, char in enumerate(string):
0 commit comments