[Python-checkins] cpython (merge 3.4 -> 3.5): Merge 3.4

terry.reedy python-checkins at python.org
Fri Jun 12 22:49:30 CEST 2015


https://hg.python.org/cpython/rev/caaaf83a4d53
changeset:   96591:caaaf83a4d53
branch:      3.5
parent:      96587:744c96cd57da
parent:      96590:4e816c324846
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Fri Jun 12 16:44:59 2015 -0400
summary:
  Merge 3.4

files:
  Doc/library/stdtypes.rst |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -4155,6 +4155,10 @@
       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`.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list