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.

Recipients docs@python,
Date 2015-06-08.11:32:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The "Built-in Types" section of the library documentation does not explain how two dictionaries are compared for equality.

The place where this is documented is under "Comparisons" in the Language Reference:

> Mappings (dictionaries) compare equal if and only if they have the same (key, value) pairs.

but it is not obvious from the section on dictionaries in "Built-in Types" that this is where to look.

(Contrast with the situation for sequences and sets, where "Built-in Types" does explain how these objects are compared for equality.)

I suggest that the "Built-in Types" section should explain how two dictionaries are tested for equality.
Date User Action Args
2015-06-08 11:32:38gdr@garethrees.orgsetrecipients: +, docs@python
2015-06-08 11:32:38gdr@garethrees.orgsetmessageid: <>
2015-06-08 11:32:38gdr@garethrees.orglinkissue24406 messages
2015-06-08 11:32:37gdr@garethrees.orgcreate