mirror of
https://github.com/python/cpython.git
synced 2026-02-13 19:04:37 +00:00
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 4b99803b86)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
This commit is contained in:
parent
d2b7e08d86
commit
ee07750088
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue