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

Typo in "Set" in PEP 289 #66173

Closed
QuanNguyen mannequin opened this issue Jul 13, 2014 · 2 comments
Closed

Typo in "Set" in PEP 289 #66173

QuanNguyen mannequin opened this issue Jul 13, 2014 · 2 comments
Labels
docs Documentation in the Doc dir

Comments

@QuanNguyen
Copy link
Mannequin

QuanNguyen mannequin commented Jul 13, 2014

BPO 21974
Nosy @rhettinger

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 = None
closed_at = <Date 2014-07-14.00:37:52.353>
created_at = <Date 2014-07-13.13:46:45.887>
labels = ['invalid', 'docs']
title = 'Typo in "Set" in PEP 289'
updated_at = <Date 2014-07-14.00:37:52.262>
user = 'https://bugs.python.org/QuanNguyen'

bugs.python.org fields:

activity = <Date 2014-07-14.00:37:52.262>
actor = 'rhettinger'
assignee = 'docs@python'
closed = True
closed_date = <Date 2014-07-14.00:37:52.353>
closer = 'rhettinger'
components = ['Documentation']
creation = <Date 2014-07-13.13:46:45.887>
creator = 'Quan.Nguyen'
dependencies = []
files = []
hgrepos = []
issue_num = 21974
keywords = []
message_count = 2.0
messages = ['222924', '222984']
nosy_count = 3.0
nosy_names = ['rhettinger', 'docs@python', 'Quan.Nguyen']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue21974'
versions = []

@QuanNguyen
Copy link
Mannequin Author

QuanNguyen mannequin commented Jul 13, 2014

This statement in the Rationale section:

"s = Set(word for line in page for word in line.split())"

"Set" should be "set" (lowercase 's')

@QuanNguyen QuanNguyen mannequin assigned docspython Jul 13, 2014
@QuanNguyen QuanNguyen mannequin added the docs Documentation in the Doc dir label Jul 13, 2014
@rhettinger
Copy link
Contributor

To modern eyes, that might look like a typo, but it is correct. It refers to the Set() class in the sets.py module, the pure python implementation of sets which pre-dates the c-implementation of the set() built-in type.

@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