Skip to content

Commit 07c3b11

Browse files
committed
Mark as final class
1 parent 7be7cbf commit 07c3b11

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

arc4-stubs/__init__.pyi

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
class ARC4(object):
2-
def __init__(self, key: bytes): ...
1+
from typing_extensions import final
32

4-
def encrypt(self, data: bytes) -> bytes: ...
53

4+
@final
5+
class ARC4(object):
6+
def __init__(self, key: bytes) -> None: ...
7+
def encrypt(self, data: bytes) -> bytes: ...
68
def decrypt(self, data: bytes) -> bytes: ...

0 commit comments

Comments
 (0)