New submission from Robert Xiao <nneon...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue7586> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com