diff options
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r-- | Doc/library/random.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 1eb39bb..51242cb 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -112,6 +112,13 @@ Bookkeeping functions :meth:`randrange` to handle arbitrarily large ranges. +.. function:: randbytes(n) + + Generate *n* random bytes. + + .. versionadded:: 3.9 + + Functions for integers ---------------------- |