]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost34112012256.pyi
PEP8 typing stubs
[pygost.git] / pygost / stubs / pygost / gost34112012256.pyi
index 365e9cc15d17cc4a8349af98fc984463a31031b6..a1d2a0155c75a50f55cac8157a9ee8b0b8a61f76 100644 (file)
@@ -1,5 +1,10 @@
-class GOST34112012256:
-    def __init__(self, data: bytes=...) -> None: ...
+from pygost.iface import PEP247
+
+
+class GOST34112012256(PEP247):
+    block_size = ...  # type: int
+
+    def __init__(self, data: bytes = ...) -> None: ...
 
     @property
     def digest_size(self) -> int: ...
@@ -13,4 +18,4 @@ class GOST34112012256:
     def hexdigest(self) -> str: ...
 
 
-def new(data: bytes=...) -> GOST34112012256: ...
+def new(data: bytes = ...) -> GOST34112012256: ...