diff --git a/Doc/library/os.rst b/Doc/library/os.rst index f8d567af48466e..d70f403e8cf1f3 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -4623,7 +4623,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,