summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-01-19 21:58:13 (GMT)
committerGitHub <noreply@github.com>2022-01-19 21:58:13 (GMT)
commitee077500888ca5c1360bbd224b3af4a0fbbf6e02 (patch)
tree6f3e749860b11bf7f6e99edcf0f89cd3b6a37bdd /Doc/library
parentd2b7e08d86874be7d4375a4994617ba8f068a65e (diff)
downloadcpython-ee077500888ca5c1360bbd224b3af4a0fbbf6e02.zip
cpython-ee077500888ca5c1360bbd224b3af4a0fbbf6e02.tar.gz
cpython-ee077500888ca5c1360bbd224b3af4a0fbbf6e02.tar.bz2
doc: Clarify os.urandom return type (GH-30282)
Other descriptions in the same file also use 'bytestring' to refer to bytes objects (cherry picked from commit 4b99803b861e58eb476a7a30e2e8aacdec5df104) Co-authored-by: Florian Bruhin <me@the-compiler.org>
Diffstat (limited to 'Doc/library')
-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 629a32f..5b2c2e0 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -4869,7 +4869,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,