Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __ror__
Method
__ror__
Lib/collections/__init__.py:337–342 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
335
return
new
336
337
def
__ror__(self, other):
338
if
not isinstance(other, (dict, frozendict)):
339
return
NotImplemented
340
new = self.__class__(other)
341
new.update(self)
342
return
new
343
344
345
try
:
Callers
1
test_merge_operator
Method · 0.95
Calls
2
__class__
Method · 0.45
update
Method · 0.45
Tested by
1
test_merge_operator
Method · 0.76