]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost34112012.pyi
PEP8 typing stubs
[pygost.git] / pygost / stubs / pygost / gost34112012.pyi
index d1366e22e92c054e9133d98c41a95300a56e104d..3d5cc41454e7c4d4a011f6a0a4a0c04fae7da2aa 100644 (file)
@@ -1,5 +1,10 @@
-class GOST34112012:
-    def __init__(self, data: bytes=..., digest_size: int=...) -> None: ...
+from pygost.iface import PEP247
+
+
+class GOST34112012(PEP247):
+    block_size = ...  # type: int
+
+    def __init__(self, data: bytes = ..., digest_size: int = ...) -> None: ...
 
     @property
     def digest_size(self) -> int: ...