summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-07-02 23:30:52 (GMT)
committerRaymond Hettinger <python@rcn.com>2014-07-02 23:30:52 (GMT)
commit809b665b57edccde6418fb9e4a0135a1e629e79a (patch)
treefad6e8ca32c8795f45ccb896e24dc48ca8902915 /Doc
parentf6b3c84a4ab592602745d072423ff4d6b8e6a39d (diff)
downloadcpython-809b665b57edccde6418fb9e4a0135a1e629e79a.zip
cpython-809b665b57edccde6418fb9e4a0135a1e629e79a.tar.gz
cpython-809b665b57edccde6418fb9e4a0135a1e629e79a.tar.bz2
Fix guidance for subclassing collections.Set()
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 5bb3569..f00b870 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -1028,7 +1028,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)