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.

Author wolma
Recipients docs@python, wolma
Date 2014-05-19.08:10:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The docs for Python3.4 havethis to say about the arguments to the dict constructor:

class dict(**kwarg)
class dict(mapping, **kwarg)
class dict(iterable, **kwarg)

    Return a new dictionary initialized from an optional positional argument and a possibly empty set of keyword arguments.

    If no positional argument is given, an empty dictionary is created. If a positional argument is given and it is a mapping object, a dictionary is created with the same key-value pairs as the mapping object. Otherwise, the positional argument must be an iterator object. Each item in the iterable must itself be an iterator with exactly two objects. The first object of each item becomes a key in the new dictionary, and the second object the corresponding value. If a key occurs more than once, the last value for that key becomes the corresponding value in the new dictionary.

This paragraph uses the term iterator twice when it should talk about an iterable instead.
I'm attaching the patch for this.

Date User Action Args
2014-05-19 08:10:15wolmasetrecipients: + wolma, docs@python
2014-05-19 08:10:15wolmasetmessageid: <>
2014-05-19 08:10:14wolmalinkissue21533 messages
2014-05-19 08:10:13wolmacreate