mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #15936: Add link from os.urandom to random.SystemRandom
This commit is contained in:
parent
e7e7af4558
commit
03cb99c2d1
1 changed files with 3 additions and 0 deletions
|
@ -3309,3 +3309,6 @@ Miscellaneous Functions
|
|||
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.
|
||||
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…
Add table
Add a link
Reference in a new issue