New submission from Quan Nguyen: This statement in the Rationale section: "s = Set(word for line in page for word in line.split())" "Set" should be "set" (lowercase 's') ---------- assignee: docs@python components: Documentation messages: 222924 nosy: Quan.Nguyen, docs@python priority: normal severity: normal status: open title: Typo in "Set" in PEP 289 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21974> _______________________________________
Raymond Hettinger added the comment: 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. ---------- nosy: +rhettinger resolution: -> not a bug status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21974> _______________________________________
participants (2)
-
Quan Nguyen
-
Raymond Hettinger