Consistently use '= ...' for optional parameters.

This commit is contained in:
Matthias Kramm
2015-11-09 13:55:00 -08:00
parent 375bf063b1
commit 94c9ce8fd0
278 changed files with 2085 additions and 2085 deletions

View File

@@ -11,17 +11,17 @@ class _hash(object):
def hexdigest(self) -> str: ...
def copy(self) -> _hash: ...
def new(algo: str = None) -> _hash: ...
def new(algo: str = ...) -> _hash: ...
def md5(s: str = None) -> _hash: ...
def sha1(s: str = None) -> _hash: ...
def sha224(s: str = None) -> _hash: ...
def sha256(s: str = None) -> _hash: ...
def sha384(s: str = None) -> _hash: ...
def sha512(s: str = None) -> _hash: ...
def md5(s: str = ...) -> _hash: ...
def sha1(s: str = ...) -> _hash: ...
def sha224(s: str = ...) -> _hash: ...
def sha256(s: str = ...) -> _hash: ...
def sha384(s: str = ...) -> _hash: ...
def sha512(s: str = ...) -> _hash: ...
algorithms = ... # type: Tuple[str, ...]
algorithms_guaranteed = ... # type: Tuple[str, ...]
algorithms_available = ... # type: Tuple[str, ...]
def pbkdf2_hmac(name: str, password: str, salt: str, rounds: int, dklen: int = None) -> str: ...
def pbkdf2_hmac(name: str, password: str, salt: str, rounds: int, dklen: int = ...) -> str: ...