Add __all__ to most modules beginning with 'q', 'r' and 's' (#7364)

This commit is contained in:
Alex Waygood
2022-02-23 00:51:54 +00:00
committed by GitHub
parent 240628c4dd
commit a3bb5af4a0
19 changed files with 364 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ from hmac import compare_digest as compare_digest
from random import SystemRandom as SystemRandom
from typing import TypeVar
__all__ = ["choice", "randbelow", "randbits", "SystemRandom", "token_bytes", "token_hex", "token_urlsafe", "compare_digest"]
_T = TypeVar("_T")
def randbelow(exclusive_upper_bound: int) -> int: ...