summaryrefslogtreecommitdiffstats
path: root/Doc/library/random.rst
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2019-04-16 16:47:11 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-04-16 16:47:11 (GMT)
commit31e8d69bfe7cf5d4ffe0967cb225d2a8a229cc97 (patch)
tree56588173d3e6aea768b4249ad9671232fdb5180c /Doc/library/random.rst
parent2f5b44879f244fbb577bd97df844b7bd4b9a19a5 (diff)
downloadcpython-31e8d69bfe7cf5d4ffe0967cb225d2a8a229cc97.zip
cpython-31e8d69bfe7cf5d4ffe0967cb225d2a8a229cc97.tar.gz
cpython-31e8d69bfe7cf5d4ffe0967cb225d2a8a229cc97.tar.bz2
bpo-33783: Use proper class markup for random.Random docs (GHè7817)
Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r--Doc/library/random.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 79a7bdd..fcedba4 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -310,6 +310,11 @@ be found in any statistics text.
Alternative Generator
---------------------
+.. class:: Random([seed])
+
+ Class that implements the default pseudo-random number generator used by the
+ :mod:`random` module.
+
.. class:: SystemRandom([seed])
Class that uses the :func:`os.urandom` function for generating random numbers