mirror of https://github.com/python/cpython
Issue #15936: Add link from os.urandom to random.SystemRandom
This commit is contained in:
parent
94540d4031
commit
8a9d370a2b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue