mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Fix annotations with literal values (#3411)
This commit is contained in:
committed by
Jelle Zijlstra
parent
6a7c2011cc
commit
87d7dd3d95
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user