Added some missing parameter annotations and type arguments detected by pyright. (#5061)

Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Eric Traut
2021-02-23 11:46:53 -07:00
committed by GitHub
parent c7c025ae08
commit a1f16da64e
8 changed files with 16 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ VERSION: str
XXHASH_VERSION: str
class _IntDigestHash(_Hash):
def __init__(self, __string: ReadableBuffer = ...): ...
def __init__(self, __string: ReadableBuffer = ...) -> None: ...
def intdigest(self) -> int: ...
# python-xxhash v2.0.0 does not support the string or usedforsecurity kwargs