Remove Python 3.6 branches from typeshed (#8269)

This commit is contained in:
Alex Waygood
2022-07-11 09:55:17 +01:00
committed by GitHub
parent 29c17ffb47
commit edc0ecd857
114 changed files with 1016 additions and 2642 deletions

View File

@@ -6,14 +6,7 @@ if sys.platform != "win32":
METHOD_MD5: _Method
METHOD_SHA256: _Method
METHOD_SHA512: _Method
if sys.version_info >= (3, 7):
METHOD_BLOWFISH: _Method
METHOD_BLOWFISH: _Method
methods: list[_Method]
if sys.version_info >= (3, 7):
def mksalt(method: _Method | None = ..., *, rounds: int | None = ...) -> str: ...
else:
def mksalt(method: _Method | None = ...) -> str: ...
def mksalt(method: _Method | None = ..., *, rounds: int | None = ...) -> str: ...
def crypt(word: str, salt: str | _Method | None = ...) -> str: ...