Skip to content

Commit 4fb09a8

Browse files
committed
Added type hint for __init__
1 parent 6bfef85 commit 4fb09a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data_compression/ppma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class PPMA:
3030
Core class for PPM compression algorithm containing compression and decompression.
3131
"""
3232

33-
def __init__(self, max_order: int = 2, alphabet_size: int = 256):
33+
def __init__(self, max_order: int = 2, alphabet_size: int = 256) -> None:
3434
self.max_order = max_order
3535
self.alphabet_size = alphabet_size
3636
self.history = ""

0 commit comments

Comments
 (0)