From 31e8d69bfe7cf5d4ffe0967cb225d2a8a229cc97 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 16 Apr 2019 09:47:11 -0700 Subject: =?UTF-8?q?bpo-33783:=20Use=20proper=20class=20markup=20for=20rand?= =?UTF-8?q?om.Random=20docs=20(GH=C3=A87817)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Bussonnier --- Doc/library/random.rst | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v0.12