summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-16 13:15:06 +0300
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-16 13:15:06 +0300
commit03cb99c2d11da44304e67281f3e2e87b1cc17254 (patch)
tree1e6e75176daab8875fe6bfc4dbbc921d7c8324e7
parente7e7af45587b1a5f2486c8326f705061c44e66c3 (diff)
downloadcpython-git-03cb99c2d11da44304e67281f3e2e87b1cc17254.tar.gz
Issue #15936: Add link from os.urandom to random.SystemRandom
-rw-r--r--Doc/library/os.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index bf6087e8a4..d859a97c35 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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`.