mirror of
https://github.com/python/cpython
synced 2024-09-16 00:17:02 +00:00
Remove the function annotations from _abcoll.py
This commit is contained in:
parent
ecb6e81d9e
commit
3bce13d42b
|
@ -311,17 +311,17 @@ def clear(self):
|
|||
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 @@ def __ixor__(self, it: Iterable):
|
|||
self.add(value)
|
||||
return self
|
||||
|
||||
def __isub__(self, it: Iterable):
|
||||
def __isub__(self, it):
|
||||
if it is self:
|
||||
self.clear()
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue