summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.abc.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-07-02 23:31:30 (GMT)
committerRaymond Hettinger <python@rcn.com>2014-07-02 23:31:30 (GMT)
commit11cda4766108c3220402c5a430573a1288a1b4ac (patch)
treee1d4381e0efe4c93e3fb3356abec37b673c50ec0 /Doc/library/collections.abc.rst
parent2dba23af7145f3edc608dc16209e6ead38c0f6c8 (diff)
downloadcpython-11cda4766108c3220402c5a430573a1288a1b4ac.zip
cpython-11cda4766108c3220402c5a430573a1288a1b4ac.tar.gz
cpython-11cda4766108c3220402c5a430573a1288a1b4ac.tar.bz2
Fix guidance for subclassing collections.Set()
Diffstat (limited to 'Doc/library/collections.abc.rst')
-rw-r--r--Doc/library/collections.abc.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst
index 356f473..0bb26f9 100644
--- a/Doc/library/collections.abc.rst
+++ b/Doc/library/collections.abc.rst
@@ -173,7 +173,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
(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)