[New-bugs-announce] [issue9536] defaultdict doc makes incorrect reference to __missing__ method

John Posner report at bugs.python.org
Fri Aug 6 16:55:28 CEST 2010


New submission from John Posner <jjposner at optimum.net>:

The documentation for collections.defaultdict is confusing with respect to the __missing__ method. The fact is that a programmer using defaultdict does not need to know anything about __missing__.

The attached patch contains a rewrite of the entire section (but not the "defaultdict Examples" section, which is fine.

----------
assignee: docs at python
components: Documentation
files: defaultdict.patch
keywords: patch
messages: 113105
nosy: docs at python, jjposner
priority: normal
severity: normal
status: open
title: defaultdict doc makes incorrect reference to __missing__ method
versions: Python 2.7
Added file: http://bugs.python.org/file18417/defaultdict.patch

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


More information about the New-bugs-announce mailing list