[Python-checkins] r87967 - python/branches/release31-maint/Lib/_abcoll.py
raymond.hettinger
python-checkins at python.org
Wed Jan 12 21:46:15 CET 2011
Author: raymond.hettinger
Date: Wed Jan 12 21:46:15 2011
New Revision: 87967
Log:
Remove the function annotations from _abcoll.py
Modified:
python/branches/release31-maint/Lib/_abcoll.py
Modified: python/branches/release31-maint/Lib/_abcoll.py
==============================================================================
--- python/branches/release31-maint/Lib/_abcoll.py (original)
+++ python/branches/release31-maint/Lib/_abcoll.py Wed Jan 12 21:46:15 2011
@@ -311,17 +311,17 @@
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 @@
self.add(value)
return self
- def __isub__(self, it: Iterable):
+ def __isub__(self, it):
if it is self:
self.clear()
else:
More information about the Python-checkins
mailing list