Kaydet (Commit) 25d6ddd3 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

#7076: mention SystemRandom class near start of the module docs; reword change…

#7076: mention SystemRandom class near start of the module docs; reword change description for clarity.  Noted by Shawn Ligocki.
üst c7337b8b
...@@ -52,7 +52,11 @@ known to fail some stringent randomness tests. See the references below for a ...@@ -52,7 +52,11 @@ known to fail some stringent randomness tests. See the references below for a
recent variant that repairs these flaws. recent variant that repairs these flaws.
.. versionchanged:: 2.3 .. 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: Bookkeeping functions:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment