summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-04-16 14:32:32 -0700
committerVictor Stinner <vstinner@redhat.com>2019-04-16 23:32:32 +0200
commita6fce19968cd39dfbc2684f97ca3184d9996f61e (patch)
treeea247ddbb3848d78fc7392934f8c52ad5f7e907e /Doc/library
parentcd46b09b0863c787dd54c433fae52bd8bdfaecd0 (diff)
downloadcpython-git-a6fce19968cd39dfbc2684f97ca3184d9996f61e.tar.gz
bpo-33783: Use proper class markup for random.Random docs (GH-7817) (GH-12859)
Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com> (cherry picked from commit 31e8d69bfe7cf5d4ffe0967cb225d2a8a229cc97) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
Diffstat (limited to 'Doc/library')
-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 7d051e1854..42979ffbe3 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