mirror of https://github.com/python/cpython
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:
parent
2d10fa9bc4
commit
4b99803b86
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue