mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue