diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2023-03-23 17:10:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 17:10:12 (GMT) |
commit | 46957091433bfa097d7ea19b177bf42a52412f2d (patch) | |
tree | be12a93b9e276c38eae9b78a7dc4651b2e6f65e7 /Doc/library/random.rst | |
parent | f13fdacadfca87c71130057b6f03c89ae640c9b2 (diff) | |
download | cpython-46957091433bfa097d7ea19b177bf42a52412f2d.zip cpython-46957091433bfa097d7ea19b177bf42a52412f2d.tar.gz cpython-46957091433bfa097d7ea19b177bf42a52412f2d.tar.bz2 |
Move binomialvariate() to a section for discrete distributions (GH-102955)
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r-- | Doc/library/random.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 098684d..c192919 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -404,8 +404,8 @@ Alternative Generator Class that implements the default pseudo-random number generator used by the :mod:`random` module. - .. deprecated:: 3.9 - In the future, the *seed* must be one of the following types: + .. deprecated-removed:: 3.9 3.11 + Formerly the *seed* could be any hashable object. Now it is limited to: :class:`NoneType`, :class:`int`, :class:`float`, :class:`str`, :class:`bytes`, or :class:`bytearray`. @@ -423,7 +423,7 @@ Notes on Reproducibility ------------------------ Sometimes it is useful to be able to reproduce the sequences given by a -pseudo-random number generator. By re-using a seed value, the same sequence should be +pseudo-random number generator. By reusing a seed value, the same sequence should be reproducible from run to run as long as multiple threads are not running. Most of the random module's algorithms and seeding functions are subject to |