[docs] [issue24406] "Bulit-in Types" documentation doesn't explain how dictionaries are compared for equality
report at bugs.python.org
Mon Jun 8 13:32:38 CEST 2015
New submission from Gareth Rees:
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.
assignee: docs at python
nosy: Gareth.Rees, docs at python
title: "Bulit-in Types" documentation doesn't explain how dictionaries are compared for equality
Added file: http://bugs.python.org/file39658/dict-equality.patch
Python tracker <report at bugs.python.org>
More information about the docs