MCPcopy Index your code
hub / github.com/RustPython/RustPython / _extend_dict

Function _extend_dict

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

Source from the content-addressed store, hash-verified

261 raise AttributeError(f'{var}') from None
262
263def _extend_dict(target_dict, other_dict):
264 target_keys = target_dict.keys()
265 for key, value in other_dict.items():
266 if key in target_keys:
267 continue
268 target_dict[key] = value
269
270
271def _expand_vars(scheme, vars):

Callers 1

_expand_varsFunction · 0.85

Calls 2

keysMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected