Fix annotations with literal values (#3411)

This commit is contained in:
Sebastian Rittau
2019-10-28 14:59:28 +01:00
committed by Jelle Zijlstra
parent 6a7c2011cc
commit 87d7dd3d95
15 changed files with 104 additions and 104 deletions

View File

@@ -6,9 +6,9 @@ _DataType = Union[str, unicode, bytearray, buffer, memoryview]
class _hash(object): # This is not actually in the module namespace.
name: str
block_size = 0
digest_size = 0
digestsize = 0
block_size: int
digest_size: int
digestsize: int
def __init__(self, arg: _DataType = ...) -> None: ...
def update(self, arg: _DataType) -> None: ...
def digest(self) -> str: ...