diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-06-02 17:40:02 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-06-02 17:40:02 (GMT) |
commit | 29d09aa4dd18d08873832b2420a28e3092169786 (patch) | |
tree | 0df1f37b919c4a37073af0cc4d2f317736420157 /Lib/random.py | |
parent | 964f205a3411aab3824240c6cd9c68ebee3b5844 (diff) | |
download | cpython-29d09aa4dd18d08873832b2420a28e3092169786.zip cpython-29d09aa4dd18d08873832b2420a28e3092169786.tar.gz cpython-29d09aa4dd18d08873832b2420a28e3092169786.tar.bz2 |
Issue #14926: fix docstring highlight
Diffstat (limited to 'Lib/random.py')
-rw-r--r-- | Lib/random.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py index d4006e5..9b61208 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -96,7 +96,7 @@ class Random(_random.Random): None or no argument seeds from current time or from an operating system specific randomness source if available. - For version 2 (the default), all of the bits are used if *a *is a str, + For version 2 (the default), all of the bits are used if *a* is a str, bytes, or bytearray. For version 1, the hash() of *a* is used instead. If *a* is an int, all bits are used. |