MCPcopy Create free account
hub / github.com/numpy/numpy / dict_append

Function dict_append

numpy/distutils/misc_util.py:2296–2305  ·  view source on GitHub ↗
(d, **kws)

Source from the content-addressed store, hash-verified

2294
2295
2296def dict_append(d, **kws):
2297 for k, v in kws.items():
2298 if k in d:
2299 ov = d[k]
2300 if isinstance(ov, str):
2301 d[k] = v
2302 else:
2303 d[k].extend(v)
2304 else:
2305 d[k] = v
2306
2307def appendpath(prefix, path):
2308 if os.path.sep != '/':

Callers 4

compileMethod · 0.90
add_extensionMethod · 0.70
append_toMethod · 0.70
get_infoMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected