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

This commit is contained in:
Andrew Svetlov 2012-10-16 13:15:06 +03:00
parent e7e7af4558
commit 03cb99c2d1
1 changed files with 3 additions and 0 deletions

View File

@ -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`.