bpo-33783: Use proper class markup for random.Random docs (GHè7817)
https://github.com/python/cpython/commit/31e8d69bfe7cf5d4ffe0967cb225d2a8a22... commit: 31e8d69bfe7cf5d4ffe0967cb225d2a8a229cc97 branch: master author: Matthias Bussonnier <bussonniermatthias@gmail.com> committer: Victor Stinner <vstinner@redhat.com> date: 2019-04-16T18:47:11+02:00 summary: bpo-33783: Use proper class markup for random.Random docs (GHè7817) Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com> files: M Doc/library/random.rst diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 79a7bddad497..fcedba4dbc20 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
participants (1)
-
Victor Stinner