from __future__ import annotations (#4763) · zinating/algorithms-python@15d1cfa · GitHub
Skip to content

Commit 15d1cfa

Browse files
cclaussgithub-actions
andauthored
from __future__ import annotations (TheAlgorithms#4763)
* from __future__ import annotations * updating DIRECTORY.md * from __future__ import annotations * from __future__ import annotations * Update xor_cipher.py Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent dc07a85 commit 15d1cfa

5 files changed

Lines changed: 11 additions & 20 deletions

File tree

DIRECTORY.md

Lines changed: 1 addition & 0 deletions

ciphers/a1z26.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
https://www.dcode.fr/letter-number-cipher
66
http://bestcodes.weebly.com/a1z26.html
77
"""
8+
from __future__ import annotations
89

910

1011
def encode(plain: str) -> list[int]:

ciphers/enigma_machine2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
1515
Created by TrapinchO
1616
"""
17+
from __future__ import annotations
1718

1819
RotorPositionT = tuple[int, int, int]
1920
RotorSelectionT = tuple[str, str, str]

ciphers/trafid_cipher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# https://en.wikipedia.org/wiki/Trifid_cipher
2+
from __future__ import annotations
23

34

45
def __encryptPart(messagePart: str, character2Number: dict[str, str]) -> str:

ciphers/xor_cipher.py

Lines changed: 7 additions & 20 deletions

0 commit comments

Comments
 (0)