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

Function setkindselector

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

Source from the content-addressed store, hash-verified

1918
1919
1920def setkindselector(decl, sel, force=0):
1921 if not decl:
1922 decl = {}
1923 if not sel:
1924 return decl
1925 if 'kindselector' not in decl:
1926 decl['kindselector'] = sel
1927 return decl
1928 for k in list(sel.keys()):
1929 if force or k not in decl['kindselector']:
1930 decl['kindselector'][k] = sel[k]
1931 return decl
1932
1933
1934def setcharselector(decl, sel, force=0):

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…