Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify documentation for binary literals #48776

Closed
nneonneo mannequin opened this issue Dec 4, 2008 · 2 comments
Closed

Clarify documentation for binary literals #48776

nneonneo mannequin opened this issue Dec 4, 2008 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@nneonneo
Copy link
Mannequin

nneonneo mannequin commented Dec 4, 2008

BPO 4526
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2008-12-04.18:20:04.410>
created_at = <Date 2008-12-04.17:10:59.977>
labels = ['docs']
title = 'Clarify documentation for binary literals'
updated_at = <Date 2008-12-04.18:20:04.409>
user = 'https://bugs.python.org/nneonneo'

bugs.python.org fields:

activity = <Date 2008-12-04.18:20:04.409>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-12-04.18:20:04.410>
closer = 'georg.brandl'
components = ['Documentation']
creation = <Date 2008-12-04.17:10:59.977>
creator = 'nneonneo'
dependencies = []
files = []
hgrepos = []
issue_num = 4526
keywords = []
message_count = 2.0
messages = ['76897', '76906']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'nneonneo']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue4526'
versions = ['Python 3.0']

@nneonneo
Copy link
Mannequin Author

nneonneo mannequin commented Dec 4, 2008

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.

@nneonneo nneonneo mannequin assigned birkenfeld Dec 4, 2008
@nneonneo nneonneo mannequin added the docs Documentation in the Doc dir label Dec 4, 2008
@birkenfeld
Copy link
Member

Fixed in r67526.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant