summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-06-12 20:45:18 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-06-12 20:45:18 (GMT)
commit0a2db7a7ad0835855cf7489792f3128b778e60c1 (patch)
tree9971948b895bd85e1cc482b3e671fd9385efa11e
parent809fb3b97e0c3d85a49609edbc60f4b18ce3ddb4 (diff)
parent815f1a9128695ade021d1bbbff7533d48e11cf9f (diff)
downloadcpython-0a2db7a7ad0835855cf7489792f3128b778e60c1.zip
cpython-0a2db7a7ad0835855cf7489792f3128b778e60c1.tar.gz
cpython-0a2db7a7ad0835855cf7489792f3128b778e60c1.tar.bz2
Merge with 3.5
-rw-r--r--Doc/library/stdtypes.rst4
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`.