summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-16 10:23:15 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-16 10:23:15 (GMT)
commit8a9d370a2bff2dd4eff399f40d047d2270bfb761 (patch)
tree635ac3d662e2a8ea3f03554cb5af9c4668afa424
parent94540d4031c6fa9c79c33f23f08a726627adcb4d (diff)
downloadcpython-8a9d370a2bff2dd4eff399f40d047d2270bfb761.zip
cpython-8a9d370a2bff2dd4eff399f40d047d2270bfb761.tar.gz
cpython-8a9d370a2bff2dd4eff399f40d047d2270bfb761.tar.bz2
Issue #15936: Add link from os.urandom to random.SystemRandom
-rw-r--r--Doc/library/os.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 025042a..f56e627 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -2506,5 +2506,7 @@ Miscellaneous Functions
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.
- .. versionadded:: 2.4
+ For easy to use interface to system randomness please see
+ :class:`random.SystemRandom`.
+ .. versionadded:: 2.4