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

This commit is contained in:
Andrew Svetlov 2012-10-16 13:23:15 +03:00
parent 94540d4031
commit 8a9d370a2b
1 changed files with 3 additions and 1 deletions

View File

@ -2506,5 +2506,7 @@ Miscellaneous Functions
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.
.. versionadded:: 2.4 For easy to use interface to system randomness please see
:class:`random.SystemRandom`.
.. versionadded:: 2.4