[New-bugs-announce] [issue7586] Typo in collections documentation

Robert Xiao report at bugs.python.org
Mon Dec 28 01:34:21 CET 2009


New submission from Robert Xiao <nneonneo at gmail.com>:

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").

----------
assignee: georg.brandl
components: Documentation
messages: 96931
nosy: georg.brandl, nneonneo
severity: normal
status: open
title: Typo in collections documentation
type: behavior
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7586>
_______________________________________


More information about the New-bugs-announce mailing list