diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-06-02 17:40:20 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-06-02 17:40:20 (GMT) |
commit | e1b22edd235bd63cad7a68d352662d92a1eb384a (patch) | |
tree | 0d712028e4c7d3652e033fe20bf9d4535cea1acc /Lib/random.py | |
parent | a894cbfa61392d88dff62bc60793000349e961ec (diff) | |
parent | 29d09aa4dd18d08873832b2420a28e3092169786 (diff) | |
download | cpython-e1b22edd235bd63cad7a68d352662d92a1eb384a.zip cpython-e1b22edd235bd63cad7a68d352662d92a1eb384a.tar.gz cpython-e1b22edd235bd63cad7a68d352662d92a1eb384a.tar.bz2 |
Issue #14926: merge with 3.2
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 ac80ca7..6388f29 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. |