Issue #15936: Add link from os.urandom to random.SystemRandom
This commit is contained in:
parent
e7e7af4558
commit
03cb99c2d1
|
@ -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`.
|
||||||
|
|
Loading…
Reference in New Issue