MCPcopy Index your code
hub / github.com/python/cpython / _extend_dict

Function _extend_dict

Lib/sysconfig/__init__.py:252–257  ·  view source on GitHub ↗
(target_dict, other_dict)

Source from the content-addressed store, hash-verified

250 raise AttributeError(f'{var}') from None
251
252def _extend_dict(target_dict, other_dict):
253 target_keys = target_dict.keys()
254 for key, value in other_dict.items():
255 if key in target_keys:
256 continue
257 target_dict[key] = value
258
259
260def _expand_vars(scheme, vars):

Callers 1

_expand_varsFunction · 0.85

Calls 2

keysMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…