Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ merge
Method
merge
Lib/test/test_descrtut.py:32–35 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
30
return
dict.get(self, key, *args)
31
32
def
merge(self, other):
33
for
key in other:
34
if
key not in self:
35
self[key] = other[key]
36
37
test_1 =
""
"
38
Callers
4
test_merge
Method · 0.45
test_empty_merges
Method · 0.45
test_merge_does_not_suppress_index_error
Method · 0.45
test_merge_stability
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected