This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Wrong name for getrandbits in docstring and documentation
Type: Stage:
Components: Documentation, Library (Lib) Versions: Python 3.0, Python 2.4, Python 3.1, Python 2.7, Python 2.6, Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: benjamin.peterson, fredrikj, georg.brandl
Priority: normal Keywords:

Created on 2008-07-30 10:43 by fredrikj, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg70421 - (view) Author: Fredrik Johansson (fredrikj) Date: 2008-07-30 10:43
The docstring for random.Random mentions a method getrandombits().
Surely this should be getrandbits()?

This ghost method is also mentioned in the Library Reference page for
the random module.
msg70427 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-07-30 13:47
Thanks! Fixed in r65307.
History
Date User Action Args
2022-04-11 14:56:37adminsetgithub: 47720
2008-07-30 13:47:09benjamin.petersonsetstatus: open -> closed
nosy: + benjamin.peterson
resolution: fixed
messages: + msg70427
2008-07-30 10:43:24fredrikjcreate