From: Terry Jan Reedy Date: Fri, 12 Jun 2015 20:38:51 +0000 (-0400) Subject: Issue #24406: Add sentences on dict comparisons, similar to those for Sequence X-Git-Tag: v2.7.11rc1~269 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4ae91382a867073111316d553492006cf355c27;p=thirdparty%2FPython%2Fcpython.git Issue #24406: Add sentences on dict comparisons, similar to those for Sequence and set comparisions. Patch by Gareth Rees. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index bc437a4ae45c..4b49df47709a 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: