From c9eead5890e6cb043921cc5f019661037fbc7491 Mon Sep 17 00:00:00 2001 From: Josh Holland Date: Tue, 27 Feb 2018 18:52:21 +0000 Subject: [PATCH] Make some arguments in secrets module optional (#1929) --- stdlib/3.6/secrets.pyi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stdlib/3.6/secrets.pyi b/stdlib/3.6/secrets.pyi index bff4716c3..5069dba25 100644 --- a/stdlib/3.6/secrets.pyi +++ b/stdlib/3.6/secrets.pyi @@ -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: ...