mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
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 31e8d69bfe)
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
This commit is contained in:
parent
cd46b09b08
commit
a6fce19968
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue