summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-16 10:15:35 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-16 10:15:35 (GMT)
commitf4e5044638a4b5a8b6a14c479e32a2721740eb0d (patch)
treed87b5395ba6c378f1634ca64cda54df46089916f /Doc
parent3ba726ce04af5092863b871229666b5b94a2aabc (diff)
parent03cb99c2d11da44304e67281f3e2e87b1cc17254 (diff)
downloadcpython-f4e5044638a4b5a8b6a14c479e32a2721740eb0d.zip
cpython-f4e5044638a4b5a8b6a14c479e32a2721740eb0d.tar.gz
cpython-f4e5044638a4b5a8b6a14c479e32a2721740eb0d.tar.bz2
Merge issue #15936: Add link from os.urandom to random.SystemRandom
Diffstat (limited to 'Doc')
-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 3b5b574..45d0a0f 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`.