Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __ior__
Method
__ior__
Lib/collections/__init__.py:326–328 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
324
return
dict.__eq__(self, other)
325
326
def
__ior__(self, other):
327
self.update(other)
328
return
self
329
330
def
__or__(self, other):
331
if
not isinstance(other, (dict, frozendict)):
Callers
nothing calls this directly
Calls
1
update
Method · 0.45
Tested by
no test coverage detected