diff options
-rw-r--r-- | Lib/random.py | 1 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-01-15-00-23-50.bpo-42931.QD6U2B.rst | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Lib/random.py b/Lib/random.py index 4142e2e..db0e6c2 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -78,6 +78,7 @@ __all__ = [ "lognormvariate", "normalvariate", "paretovariate", + "randbytes", "randint", "random", "randrange", diff --git a/Misc/NEWS.d/next/Library/2021-01-15-00-23-50.bpo-42931.QD6U2B.rst b/Misc/NEWS.d/next/Library/2021-01-15-00-23-50.bpo-42931.QD6U2B.rst new file mode 100644 index 0000000..01f8094 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-01-15-00-23-50.bpo-42931.QD6U2B.rst @@ -0,0 +1 @@ +Add :func:`randbytes` to ``random.__all__``. |