Skip to content

Commit 2ddd81d

Browse files
Remove wrongly placed double qoutes (#5530)
* Update baconian_cipher.py * Update join.py * Updated type hint
1 parent 0ca1279 commit 2ddd81d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: ciphers/baconian_cipher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def decode(coded: str) -> str:
8383
return decoded.strip()
8484

8585

86-
if "__name__" == "__main__":
86+
if __name__ == "__main__":
8787
from doctest import testmod
8888

8989
testmod()

Diff for: strings/join.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44

55

6-
def join(separator: str, separated: list) -> str:
6+
def join(separator: str, separated: list[str]) -> str:
77
"""
88
>>> join("", ["a", "b", "c", "d"])
99
'abcd'
@@ -26,7 +26,7 @@ def join(separator: str, separated: list) -> str:
2626
return joined.strip(separator)
2727

2828

29-
if "__name__" == "__main__":
29+
if __name__ == "__main__":
3030
from doctest import testmod
3131

3232
testmod()

0 commit comments

Comments
 (0)