Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __ior__
Method
__ior__
Lib/_weakrefset.py:74–76 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
72
self.add(element)
73
74
def
__ior__(self, other):
75
self.update(other)
76
return
self
77
78
def
difference(self, other):
79
newset = self.copy()
Callers
nothing calls this directly
Calls
1
update
Method · 0.95
Tested by
no test coverage detected