diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-06-12 20:44:59 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-06-12 20:44:59 (GMT) |
commit | 815f1a9128695ade021d1bbbff7533d48e11cf9f (patch) | |
tree | 240ce03da0cef0062f52eea15d1552018b168748 /Doc | |
parent | 138adb8d05e9dcd70cede5548e183241c6b1029e (diff) | |
parent | fe63c9a29812449cca5a058c74ab831a89b7b117 (diff) | |
download | cpython-815f1a9128695ade021d1bbbff7533d48e11cf9f.zip cpython-815f1a9128695ade021d1bbbff7533d48e11cf9f.tar.gz cpython-815f1a9128695ade021d1bbbff7533d48e11cf9f.tar.bz2 |
Merge 3.4
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 6e90451..ec07183 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4155,6 +4155,10 @@ pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098: Return a new view of the dictionary's values. See the :ref:`documentation of view objects <dict-views>`. + Dictionaries compare equal if and only if they have the same ``(key, + value)`` pairs. Order comparisons ('<', '<=', '>=', '>') raise + :exc:`TypeError`. + .. seealso:: :class:`types.MappingProxyType` can be used to create a read-only view of a :class:`dict`. |