summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-01-19 21:22:15 (GMT)
committerGitHub <noreply@github.com>2022-01-19 21:22:15 (GMT)
commit4b99803b861e58eb476a7a30e2e8aacdec5df104 (patch)
treeccf7d01fa8402bf6c3980fbd197d6fc0d913cab0 /Doc/library/os.rst
parent2d10fa9bc4cf83c5e5dd73decc9a138d6d247374 (diff)
downloadcpython-4b99803b861e58eb476a7a30e2e8aacdec5df104.zip
cpython-4b99803b861e58eb476a7a30e2e8aacdec5df104.tar.gz
cpython-4b99803b861e58eb476a7a30e2e8aacdec5df104.tar.bz2
doc: Clarify os.urandom return type (#30282)
Other descriptions in the same file also use 'bytestring' to refer to bytes objects
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index eb30353..234ea32 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -4879,7 +4879,7 @@ Random numbers
.. function:: urandom(size)
- Return a string of *size* random bytes suitable for cryptographic use.
+ Return a bytestring of *size* random bytes suitable for cryptographic use.
This function returns random bytes from an OS-specific randomness source. The
returned data should be unpredictable enough for cryptographic applications,