]> granicus.if.org Git - python/commitdiff
Issue #24406: Add sentences on dict comparisons, similar to those for Sequence
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 12 Jun 2015 20:38:51 +0000 (16:38 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 12 Jun 2015 20:38:51 +0000 (16:38 -0400)
and set comparisions.  Patch by Gareth Rees.

Doc/library/stdtypes.rst

index bc437a4ae45cdb95dc5a1156418e824c05fbd555..4b49df47709a681f425bb0e7b22538579268c202 100644 (file)
@@ -2230,6 +2230,9 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098:
 
       .. versionadded:: 2.7
 
+   Dictionaries compare equal if and only if they have the same ``(key,
+   value)`` pairs.
+      
 
 .. _dict-views: