doc: Clarify os.urandom return type (#30282)

Other descriptions in the same file also use 'bytestring' to refer to bytes objects
This commit is contained in:
Florian Bruhin 2022-01-19 22:22:15 +01:00 committed by GitHub
parent 2d10fa9bc4
commit 4b99803b86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,