mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-08 19:00:59 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -3,7 +3,6 @@ from typing import List, Optional, Union
|
||||
|
||||
if sys.version_info >= (3, 3):
|
||||
class _Method: ...
|
||||
|
||||
METHOD_CRYPT: _Method
|
||||
METHOD_MD5: _Method
|
||||
METHOD_SHA256: _Method
|
||||
@@ -18,5 +17,6 @@ if sys.version_info >= (3, 3):
|
||||
else:
|
||||
def mksalt(method: Optional[_Method] = ...) -> str: ...
|
||||
def crypt(word: str, salt: Optional[Union[str, _Method]] = ...) -> str: ...
|
||||
|
||||
else:
|
||||
def crypt(word: str, salt: str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user