summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-12 20:46:15 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-12 20:46:15 (GMT)
commit3bce13d42be602f5a40a9759fa0f0d029f77ef8d (patch)
tree39b4629830db4846e261f7b5d5c16cf633890273 /Lib
parentecb6e81d9e8ed0769a68c8715e81c1b67b583ba4 (diff)
downloadcpython-3bce13d42be602f5a40a9759fa0f0d029f77ef8d.zip
cpython-3bce13d42be602f5a40a9759fa0f0d029f77ef8d.tar.gz
cpython-3bce13d42be602f5a40a9759fa0f0d029f77ef8d.tar.bz2
Remove the function annotations from _abcoll.py
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: