mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
getrandombits is actually getrandbits
This commit is contained in:
parent
abe0aee3cf
commit
f2eb2b44fc
2 changed files with 5 additions and 5 deletions
|
@ -79,9 +79,9 @@ class Random(_random.Random):
|
|||
|
||||
Class Random can also be subclassed if you want to use a different basic
|
||||
generator of your own devising: in that case, override the following
|
||||
methods: random(), seed(), getstate(), setstate() and jumpahead().
|
||||
Optionally, implement a getrandombits() method so that randrange()
|
||||
can cover arbitrarily large ranges.
|
||||
methods: random(), seed(), getstate(), setstate() and jumpahead().
|
||||
Optionally, implement a getrandbits() method so that randrange() can cover
|
||||
arbitrarily large ranges.
|
||||
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue