diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-07-30 13:46:53 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-07-30 13:46:53 (GMT) |
commit | f2eb2b44fc532c77c03bc95789817a20d7c558c3 (patch) | |
tree | a6d101fe1bc72fce4b1aa68f4b6898e84de01169 /Lib/random.py | |
parent | abe0aee3cfd8e528be1823ffcce8b56c27e2b57f (diff) | |
download | cpython-f2eb2b44fc532c77c03bc95789817a20d7c558c3.zip cpython-f2eb2b44fc532c77c03bc95789817a20d7c558c3.tar.gz cpython-f2eb2b44fc532c77c03bc95789817a20d7c558c3.tar.bz2 |
getrandombits is actually getrandbits
Diffstat (limited to 'Lib/random.py')
-rw-r--r-- | Lib/random.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/random.py b/Lib/random.py index bd8679f..5879340 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -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. """ |