From f4ae91382a867073111316d553492006cf355c27 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 12 Jun 2015 16:38:51 -0400 Subject: Issue #24406: Add sentences on dict comparisons, similar to those for Sequence and set comparisions. Patch by Gareth Rees. --- Doc/library/stdtypes.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index bc437a4..4b49df4 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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: -- cgit v0.12