Issue 7586: Typo in collections documentation (original) (raw)

Issue7586

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:55 admin set github: 51835
2009-12-28 08:02:16 georg.brandl set status: open -> closedresolution: fixedmessages: +
2009-12-28 00:34:19 nneonneo create