summaryrefslogtreecommitdiffstats
path: root/Doc/library/random.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-11-05 23:58:42 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-11-05 23:58:42 (GMT)
commite679a3702414570b022985b69043d0d684bb97cc (patch)
tree7aa7595ca3b99a21fcf459741507dc54ac877e01 /Doc/library/random.rst
parent6b1167c61cb3e1e05b4b310fa9c9cddff93afa27 (diff)
downloadcpython-e679a3702414570b022985b69043d0d684bb97cc.zip
cpython-e679a3702414570b022985b69043d0d684bb97cc.tar.gz
cpython-e679a3702414570b022985b69043d0d684bb97cc.tar.bz2
Provide links to Python source in a handful of
cases where the source is a generally helpful adjunct to the docs.
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r--Doc/library/random.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 935d605..4306911 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -9,6 +9,11 @@
This module implements pseudo-random number generators for various
distributions.
+.. seealso::
+
+ Latest version of the `random module Python source code
+ <http://svn.python.org/view/python/branches/release27-maint/Lib/random.py?view=markup>`_
+
For integers, uniform selection from a range. For sequences, 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 replacement.