diff options
| author | Georg Brandl <georg@python.org> | 2013-10-06 18:43:19 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2013-10-06 18:43:19 +0200 |
| commit | c6a2c9b466325c1c35b24735db53d60598d66112 (patch) | |
| tree | b8da471aabbc83a5e564792674cdd20898294277 /Doc | |
| parent | 7d07833655a50e24a33a0a99ee2ffb289d4c2b04 (diff) | |
| download | cpython-git-c6a2c9b466325c1c35b24735db53d60598d66112.tar.gz | |
Closes #15213: update comment for _PyOS_URandom
Diffstat (limited to 'Doc')
| -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 ee378a6b15..9d4642c2d5 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -3306,8 +3306,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`. |
