mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
bpo-33783: Use proper class markup for random.Random docs (GHè7817)
Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
This commit is contained in:
committed by
Victor Stinner
parent
2f5b44879f
commit
31e8d69bfe
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user