summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-12 20:37:47 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-12 20:37:47 (GMT)
commitb3d89a4ee438ee6927bfe553694b5b06f5672274 (patch)
tree9c8498c5239484ed767a4781ec9046dbe11d181b /Lib
parent23b628ed0bb52738540456a9972f7c68cb1433dc (diff)
downloadcpython-b3d89a4ee438ee6927bfe553694b5b06f5672274.zip
cpython-b3d89a4ee438ee6927bfe553694b5b06f5672274.tar.gz
cpython-b3d89a4ee438ee6927bfe553694b5b06f5672274.tar.bz2
Remove function annotations that slipped into _abcoll.
These are reserved for third-party use.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/_abcoll.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py
index 0957553..2417d18 100644
--- a/Lib/_abcoll.py
+++ b/Lib/_abcoll.py
@@ -311,17 +311,17 @@ class MutableSet(Set):
except KeyError:
pass
- def __ior__(self, it: Iterable):
+ def __ior__(self, it):
for value in it:
self.add(value)
return self
- def __iand__(self, it: Iterable):
+ def __iand__(self, it):
for value in (self - it):
self.discard(value)
return self
- def __ixor__(self, it: Iterable):
+ def __ixor__(self, it):
if it is self:
self.clear()
else:
@@ -334,7 +334,7 @@ class MutableSet(Set):
self.add(value)
return self
- def __isub__(self, it: Iterable):
+ def __isub__(self, it):
if it is self:
self.clear()
else: