MCPcopy Index your code
hub / github.com/numpy/numpy / setcharselector

Function setcharselector

numpy/f2py/crackfortran.py:1934–1946  ·  view source on GitHub ↗
(decl, sel, force=0)

Source from the content-addressed store, hash-verified

1932
1933
1934def setcharselector(decl, sel, force=0):
1935 if not decl:
1936 decl = {}
1937 if not sel:
1938 return decl
1939 if 'charselector' not in decl:
1940 decl['charselector'] = sel
1941 return decl
1942
1943 for k in list(sel.keys()):
1944 if force or k not in decl['charselector']:
1945 decl['charselector'][k] = sel[k]
1946 return decl
1947
1948
1949def getblockname(block, unknown='unknown'):

Callers 1

appenddeclFunction · 0.85

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…