diff options
author | Georg Brandl <georg@python.org> | 2013-10-06 16:48:30 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-06 16:48:30 (GMT) |
commit | af1edb7f457c34a2c659bdfda6a561eefad8b5ff (patch) | |
tree | 3481ad4a319cb64a53b64454120e4fcc028535d1 /Doc/library | |
parent | 4f198de5b2624dd04568c9f7eeecfed3c45f9f14 (diff) | |
parent | c6a2c9b466325c1c35b24735db53d60598d66112 (diff) | |
download | cpython-af1edb7f457c34a2c659bdfda6a561eefad8b5ff.zip cpython-af1edb7f457c34a2c659bdfda6a561eefad8b5ff.tar.gz cpython-af1edb7f457c34a2c659bdfda6a561eefad8b5ff.tar.bz2 |
merge with 3.3
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/os.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 729fa14..a092413 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -3377,8 +3377,9 @@ Miscellaneous Functions This function returns random bytes from an OS-specific randomness source. The returned data should be unpredictable enough for cryptographic applications, 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. + 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 an easy-to-use interface to the random number generator provided by your platform, please see :class:`random.SystemRandom`. |