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

Function dict_append

numpy/f2py/f2py2e.py:406–413  ·  view source on GitHub ↗
(d_out, d_in)

Source from the content-addressed store, hash-verified

404
405
406def dict_append(d_out, d_in):
407 for (k, v) in d_in.items():
408 if k not in d_out:
409 d_out[k] = []
410 if isinstance(v, list):
411 d_out[k] = d_out[k] + v
412 else:
413 d_out[k].append(v)
414
415
416def run_main(comline_list):

Callers 2

buildmodulesFunction · 0.70
run_mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected