Commit aa7c02ca authored by Andrew Svetlov's avatar Andrew Svetlov

Issue #15936: Add link from os.urandom to random.SystemRandom

parent 45668386
...@@ -3309,3 +3309,6 @@ Miscellaneous Functions ...@@ -3309,3 +3309,6 @@ Miscellaneous Functions
though its exact quality depends on the OS implementation. On a Unix-like though its exact quality depends on the OS implementation. On a Unix-like
system this will query /dev/urandom, and on Windows it will use CryptGenRandom. system this will query /dev/urandom, and on Windows it will use CryptGenRandom.
If a randomness source is not found, :exc:`NotImplementedError` will be raised. If a randomness source is not found, :exc:`NotImplementedError` will be raised.
For easy to use interface to system randomness please see
:class:`random.SystemRandom`.
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