Created
January 3, 2017 02:34
-
-
Save kdelwat/44db48c4edf6984c0d69bc52a839c9c3 to your computer and use it in GitHub Desktop.
Stubs for Secrets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stubs for secrets (Python 3.6) | |
# | |
# NOTE: This dynamically typed stub was automatically generated by stubgen. | |
from typing import Any, Optional | |
from hmac import compare_digest as compare_digest | |
from random import SystemRandom as SystemRandom | |
randbits = ... # type: Any | |
choice = ... # type: Any | |
def randbelow(exclusive_upper_bound): ... | |
def token_bytes(nbytes: Optional[Any] = ...): ... | |
def token_hex(nbytes: Optional[Any] = ...): ... | |
def token_urlsafe(nbytes: Optional[Any] = ...): ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment