summaryrefslogtreecommitdiff
path: root/Lib/_abcoll.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-07-03 00:30:52 +0100
committerRaymond Hettinger <python@rcn.com>2014-07-03 00:30:52 +0100
commit809b665b57edccde6418fb9e4a0135a1e629e79a (patch)
treefad6e8ca32c8795f45ccb896e24dc48ca8902915 /Lib/_abcoll.py
parentf6b3c84a4ab592602745d072423ff4d6b8e6a39d (diff)
downloadcpython-git-809b665b57edccde6418fb9e4a0135a1e629e79a.tar.gz
Fix guidance for subclassing collections.Set()
Diffstat (limited to 'Lib/_abcoll.py')
-rw-r--r--Lib/_abcoll.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py
index a943263320..3d567e388e 100644
--- a/Lib/_abcoll.py
+++ b/Lib/_abcoll.py
@@ -143,7 +143,7 @@ class Set(Sized, Iterable, Container):
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.
"""