Mercurial > cpython-lru_cache-weakref
diff Lib/_abcoll.py @ 67561:3eeaecf005c1
Remove function annotations that slipped into _abcoll.
These are reserved for third-party use.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Wed, 12 Jan 2011 20:37:47 +0000 |
| parents | 69ec77526180 |
| children | 8e95a078d490 |
line wrap: on
line diff
--- a/Lib/_abcoll.py Wed Jan 12 18:56:07 2011 +0000 +++ b/Lib/_abcoll.py Wed Jan 12 20:37:47 2011 +0000 @@ -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:
