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: bin missing from documentation
Type: Stage:
Components: Documentation Versions: Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: benjamin.peterson, georg.brandl, mark.dickinson, v+python
Priority: normal Keywords: patch

Created on 2008-10-30 00:17 by v+python, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue4234.patch mark.dickinson, 2008-10-30 10:22
Messages (4)
msg75340 - (view) Author: Glenn Linderman (v+python) * Date: 2008-10-30 00:17
Py3.0 has

bin(x)
Convert an integer number to a binary string. The result is a valid
Python expression. If x is not a Python int object, it has to define an
__index__() method that returns an integer. 

Py2.6 doesn't document builtin bin.
msg75343 - (view) Author: Glenn Linderman (v+python) * Date: 2008-10-30 00:37
Perhaps there are other 3.0 builtins that were also missed, in the 2.6 docs?
msg75367 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2008-10-30 10:22
In addition, the description of binary literals is missing from the 
lexical analysis section of the reference manual, as is the description
of new-style octal literals (i.e. "0o23" instead of "023").

Here's a patch (against the trunk;  2.6 also needs fixing).
msg75393 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-10-30 22:40
Fixed in r67060.
History
Date User Action Args
2022-04-11 14:56:40adminsetgithub: 48484
2008-10-30 22:40:07benjamin.petersonsetstatus: open -> closed
nosy: + benjamin.peterson
resolution: fixed
messages: + msg75393
2008-10-30 10:22:30mark.dickinsonsetfiles: + issue4234.patch
keywords: + patch
messages: + msg75367
nosy: + mark.dickinson
versions: + Python 2.7
2008-10-30 00:37:51v+pythonsetmessages: + msg75343
2008-10-30 00:17:48v+pythoncreate