Skip to content

Commit 31e8d69

Browse files
Carreauvstinner
authored andcommitted
bpo-33783: Use proper class markup for random.Random docs (GHè7817)
Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
1 parent 2f5b448 commit 31e8d69

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/random.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,11 @@ be found in any statistics text.
310310
Alternative Generator
311311
---------------------
312312

313+
.. class:: Random([seed])
314+
315+
Class that implements the default pseudo-random number generator used by the
316+
:mod:`random` module.
317+
313318
.. class:: SystemRandom([seed])
314319

315320
Class that uses the :func:`os.urandom` function for generating random numbers

0 commit comments

Comments
 (0)