Skip to content

Commit b9d9cb3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fb63afe commit b9d9cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/join.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def join(separator: str, separated: list[str]) -> str:
3636
# Check if the element is a string
3737
if not isinstance(word_or_phrase, str):
3838
raise Exception("join() accepts only strings")
39-
39+
4040
# Add the current word or phrase to the result
4141
result += word_or_phrase
4242
# Add the separator if it's not the last element

0 commit comments

Comments
 (0)