[Python-checkins] cpython: Issue #12049: cleanup the warning in the random module doc

victor.stinner python-checkins at python.org
Wed May 25 13:14:05 CEST 2011


http://hg.python.org/cpython/rev/195de3d10879
changeset:   70371:195de3d10879
user:        Victor Stinner <victor.stinner at haypocalc.com>
date:        Wed May 25 13:13:55 2011 +0200
summary:
  Issue #12049: cleanup the warning in the random module doc

files:
  Doc/library/random.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/random.rst b/Doc/library/random.rst
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -46,8 +46,8 @@
 .. warning::
 
    The generators of the :mod:`random` module should not be used for security
-   purposes, they are not cryptographic. Use :func:`ssl.RAND_bytes` if you
-   require a cryptographically secure pseudorandom number generator.
+   purposes. Use :func:`ssl.RAND_bytes` if you require a cryptographically
+   secure pseudorandom number generator.
 
 
 Bookkeeping functions:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list