[New-bugs-announce] [issue4526] Clarify documentation for binary literals

Bobby Xiao report at bugs.python.org
Thu Dec 4 18:11:00 CET 2008


New submission from Bobby Xiao <nneonneo at gmail.com>:

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.

----------
assignee: georg.brandl
components: Documentation
messages: 76897
nosy: georg.brandl, nneonneo
severity: normal
status: open
title: Clarify documentation for binary literals
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4526>
_______________________________________


More information about the New-bugs-announce mailing list