summaryrefslogtreecommitdiffstats
path: root/Doc/library/random.rst
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-08-16 22:55:39 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-08-16 22:55:39 (GMT)
commita3811e4b8f70790a3dc8768a455cb8836670de37 (patch)
tree000e0496c1fc58dd59ecede50e2cd756746f3cd9 /Doc/library/random.rst
parent824f7f366d1b54d2d3100c3130c04cf1dfb4b47c (diff)
parent7bf1125e9fe7fda150af3962c94f857b8461bfd7 (diff)
downloadcpython-a3811e4b8f70790a3dc8768a455cb8836670de37.zip
cpython-a3811e4b8f70790a3dc8768a455cb8836670de37.tar.gz
cpython-a3811e4b8f70790a3dc8768a455cb8836670de37.tar.bz2
merge
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r--Doc/library/random.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 55c9d70..11dd367 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -45,9 +45,9 @@ from sources provided by the operating system.
.. warning::
- The generators of the :mod:`random` module should not be used for security
- purposes. Use :func:`ssl.RAND_bytes` if you require a cryptographically
- secure pseudorandom number generator.
+ The pseudo-random generators of this module should not be used for
+ security purposes. Use :func:`os.urandom` or :class:`SystemRandom` if
+ you require a cryptographically secure pseudo-random number generator.
Bookkeeping functions: