Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 03cb99c

Browse files
committed
Issue #15936: Add link from os.urandom to random.SystemRandom
1 parent e7e7af4 commit 03cb99c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/library/os.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3309,3 +3309,6 @@ Miscellaneous Functions
33093309
though its exact quality depends on the OS implementation. On a Unix-like
33103310
system this will query /dev/urandom, and on Windows it will use CryptGenRandom.
33113311
If a randomness source is not found, :exc:`NotImplementedError` will be raised.
3312+
3313+
For easy to use interface to system randomness please see
3314+
:class:`random.SystemRandom`.

0 commit comments

Comments
 (0)