Make some arguments in secrets module optional (#1929)

This commit is contained in:
Josh Holland
2018-02-27 18:52:21 +00:00
committed by Jelle Zijlstra
parent 5e37071a42
commit c9eead5890

View File

@@ -9,6 +9,6 @@ _T = TypeVar('_T')
def randbelow(exclusive_upper_bound: int) -> int: ...
def randbits(k: int) -> int: ...
def choice(seq: Sequence[_T]) -> _T: ...
def token_bytes(nbytes: Optional[int]) -> bytes: ...
def token_hex(nbytes: Optional[int]) -> str: ...
def token_urlsafe(nbytes: Optional[int]) -> str: ...
def token_bytes(nbytes: Optional[int] = ...) -> bytes: ...
def token_hex(nbytes: Optional[int] = ...) -> str: ...
def token_urlsafe(nbytes: Optional[int] = ...) -> str: ...