mirror of https://github.com/python/cpython
Issue #14926: merge with 3.2
This commit is contained in:
commit
e1b22edd23
|
@ -96,7 +96,7 @@ class Random(_random.Random):
|
||||||
None or no argument seeds from current time or from an operating
|
None or no argument seeds from current time or from an operating
|
||||||
system specific randomness source if available.
|
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.
|
bytes, or bytearray. For version 1, the hash() of *a* is used instead.
|
||||||
|
|
||||||
If *a* is an int, all bits are used.
|
If *a* is an int, all bits are used.
|
||||||
|
|
Loading…
Reference in New Issue