]> granicus.if.org Git - python/commitdiff
Remove the function annotations from _abcoll.py
authorRaymond Hettinger <python@rcn.com>
Wed, 12 Jan 2011 20:46:15 +0000 (20:46 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 12 Jan 2011 20:46:15 +0000 (20:46 +0000)
Lib/_abcoll.py

index 0957553613b770b9376511f39d0cf02e1e4c49c8..2417d187cd3a8cbca2a6d735ada741a8a0a54945 100644 (file)
@@ -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: