Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __isub__
Method
__isub__
Lib/_collections_abc.py:761–767 ·
view source on GitHub ↗
(self, it)
Source
from the content-addressed store, hash-verified
759
return
self
760
761
def
__isub__(self, it):
762
if
it is self:
763
self.clear()
764
else
:
765
for
value in it:
766
self.discard(value)
767
return
self
768
769
770
MutableSet.register(set)
Callers
nothing calls this directly
Calls
2
clear
Method · 0.95
discard
Method · 0.95
Tested by
no test coverage detected