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: Clarify documentation for binary literals
Type: Stage:
Components: Documentation Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, nneonneo
Priority: normal Keywords:

Created on 2008-12-04 17:10 by nneonneo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg76897 - (view) Author: Robert Xiao (nneonneo) * Date: 2008-12-04 17:10
Under http://docs.python.org/dev/3.0/whatsnew/3.0.html#new-syntax, on
the last two points, it says

"# New binary literals, e.g. 0b1010 (already in 2.6).
# Bytes literals are introduced with a leading b or B, and there is a
new corresponding builtin function, bin()."

I believe it should read
"# New binary literals, e.g. 0b1010 (already in 2.6), and there is a new
corresponding builtin function, bin().
# Bytes literals are introduced with a leading b or B, and there is a
new corresponding builtin function, bytes()."
or something along those lines, as "bin" is for binary literals, not
bytes literals, and "bytes" is for bytes literals.
msg76906 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-12-04 18:20
Fixed in r67526.
History
Date User Action Args
2022-04-11 14:56:42adminsetgithub: 48776
2008-12-04 18:20:04georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg76906
2008-12-04 17:10:59nneonneocreate