diff options
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r-- | Doc/library/random.rst | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst index c5a5666..8525312 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -4,15 +4,11 @@ .. module:: random :synopsis: Generate pseudo-random numbers with various common distributions. +**Source code:** :source:`Lib/random.py` This module implements pseudo-random number generators for various distributions. -.. seealso:: - - Latest version of the :source:`random module Python source code - <Lib/random.py>` - For integers, there is uniform selection from a range. For sequences, there is uniform selection of a random element, a function to generate a random permutation of a list in-place, and a function for random sampling without @@ -45,8 +41,8 @@ The :mod:`random` module also provides the :class:`SystemRandom` class which uses the system function :func:`os.urandom` to generate random numbers from sources provided by the operating system. -Bookkeeping functions: +Bookkeeping functions: .. function:: seed([x], version=2) |