Issue 21974: Typo in "Set" in PEP 289

Issue21974

Created on 2014-07-13 13:46 by Quan.Nguyen, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg222924 - (view) Author: Quan Nguyen (Quan.Nguyen) Date: 2014-07-13 13:46
This statement in the Rationale section:

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

"Set" should be "set" (lowercase 's')
msg222984 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2014-07-14 00:37
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.
History
Date User Action Args
2022-04-11 14:58:05adminsetgithub: 66173
2014-07-14 00:37:52rhettingersetstatus: open -> closed

nosy: + rhettinger
messages: + msg222984

resolution: not a bug

2014-07-13 13:46:45Quan.Nguyencreate