mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 08:38:26 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -20,10 +20,10 @@ else:
|
||||
|
||||
class HMAC:
|
||||
if sys.version_info >= (3,):
|
||||
digest_size = ... # type: int
|
||||
digest_size: int
|
||||
if sys.version_info >= (3, 4):
|
||||
block_size = ... # type: int
|
||||
name = ... # type: str
|
||||
block_size: int
|
||||
name: str
|
||||
def update(self, msg: _B) -> None: ...
|
||||
def digest(self) -> bytes: ...
|
||||
def hexdigest(self) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user