New submission from Bobby Xiao <[EMAIL PROTECTED]>:

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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4526>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to