]> granicus.if.org Git - python/commitdiff
Issue #15936: Add link from os.urandom to random.SystemRandom
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 16 Oct 2012 10:15:06 +0000 (13:15 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 16 Oct 2012 10:15:06 +0000 (13:15 +0300)
Doc/library/os.rst

index bf6087e8a4efa0b70db0dc2eab1328dfc9eae5c5..d859a97c35e5736a14ed9c6c7c357defa7bbe87f 100644 (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`.