This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Typo in collections documentation
Type: behavior Stage:
Components: Documentation Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, nneonneo
Priority: normal Keywords:

Created on 2009-12-28 00:34 by nneonneo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg96931 - (view) Author: Robert Xiao (nneonneo) * Date: 2009-12-28 00:34
In the documentation for the namedtuple
(http://docs.python.org/3.1/library/collections.html), the following
phrase is incorrect:

The subclass shown above sets __slots__ to an empty tuple. This keeps
keep memory requirements low by preventing the creation of instance
dictionaries.

It should read

The subclass shown above sets __slots__ to an empty tuple. This helps
keep memory requirements low by preventing the creation of instance
dictionaries.

or

The subclass shown above sets __slots__ to an empty tuple. This keeps
memory requirements low by preventing the creation of instance dictionaries.

(either change "keeps" to "helps", or delete the next "keep").
msg96939 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-12-28 08:02
Thanks, fixed in r77084.
History
Date User Action Args
2022-04-11 14:56:55adminsetgithub: 51835
2009-12-28 08:02:16georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg96939
2009-12-28 00:34:19nneonneocreate