diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-10 03:26:08 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-10 03:26:08 (GMT) |
commit | 10480940373492652bc285fca3fa74751c271645 (patch) | |
tree | bb1bfed3416120cc371eb884960cf73aad9a957e /Doc/library/random.rst | |
parent | a4815caa7ccf21aa994d0e0eec66873072f0e352 (diff) | |
download | cpython-10480940373492652bc285fca3fa74751c271645.zip cpython-10480940373492652bc285fca3fa74751c271645.tar.gz cpython-10480940373492652bc285fca3fa74751c271645.tar.bz2 |
Move source links to consistent location and remove wordy, big yellow boxes.
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) |