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

raymond.hettinger python-checkins at python.org
Thu Jul 3 01:32:06 CEST 2014


http://hg.python.org/cpython/rev/a0eafe1069fc
changeset:   91532:a0eafe1069fc
parent:      91529:3d176d6a05e6
parent:      91531:b28292359d4a
user:        Raymond Hettinger <python at rcn.com>
date:        Thu Jul 03 00:31:54 2014 +0100
summary:
  merge

files:
  Doc/library/collections.abc.rst |  2 +-
  Lib/_collections_abc.py         |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst
--- a/Doc/library/collections.abc.rst
+++ b/Doc/library/collections.abc.rst
@@ -173,7 +173,7 @@
 
 (2)
    To override the comparisons (presumably for speed, as the
-   semantics are fixed), redefine :meth:`__le__` and
+   semantics are fixed), redefine :meth:`__le__` and :meth:`__ge__`,
    then the other operations will automatically follow suit.
 
 (3)
diff --git a/Lib/_collections_abc.py b/Lib/_collections_abc.py
--- a/Lib/_collections_abc.py
+++ b/Lib/_collections_abc.py
@@ -183,7 +183,7 @@
     methods except for __contains__, __iter__ and __len__.
 
     To override the comparisons (presumably for speed, as the
-    semantics are fixed), all you have to do is redefine __le__ and
+    semantics are fixed), redefine __le__ and __ge__,
     then the other operations will automatically follow suit.
     """
 

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


More information about the Python-checkins mailing list