[Python-checkins] r78297 - python/trunk/Doc/library/random.rst
andrew.kuchling
python-checkins at python.org
Mon Feb 22 03:29:10 CET 2010
Author: andrew.kuchling
Date: Mon Feb 22 03:29:10 2010
New Revision: 78297
Log:
#7076: mention SystemRandom class near start of the module docs; reword change description for clarity. Noted by Shawn Ligocki.
Modified:
python/trunk/Doc/library/random.rst
Modified: python/trunk/Doc/library/random.rst
==============================================================================
--- python/trunk/Doc/library/random.rst (original)
+++ python/trunk/Doc/library/random.rst Mon Feb 22 03:29:10 2010
@@ -52,7 +52,11 @@
recent variant that repairs these flaws.
.. versionchanged:: 2.3
- Substituted MersenneTwister for Wichmann-Hill.
+ MersenneTwister replaced Wichmann-Hill as the default generator.
+
+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:
More information about the Python-checkins
mailing list