Skip to content

Commit

Permalink
Remove wrongly placed double qoutes (TheAlgorithms#5530)
Browse files Browse the repository at this point in the history
* Update baconian_cipher.py

* Update join.py

* Updated type hint
  • Loading branch information
Rohanrbharadwaj authored Oct 22, 2021
1 parent 0ca1279 commit 2ddd81d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ciphers/baconian_cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def decode(coded: str) -> str:
return decoded.strip()


if "__name__" == "__main__":
if __name__ == "__main__":
from doctest import testmod

testmod()
4 changes: 2 additions & 2 deletions strings/join.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""


def join(separator: str, separated: list) -> str:
def join(separator: str, separated: list[str]) -> str:
"""
>>> join("", ["a", "b", "c", "d"])
'abcd'
Expand All @@ -26,7 +26,7 @@ def join(separator: str, separated: list) -> str:
return joined.strip(separator)


if "__name__" == "__main__":
if __name__ == "__main__":
from doctest import testmod

testmod()

0 comments on commit 2ddd81d

Please sign in to comment.