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

Function isoptional

numpy/f2py/auxfuncs.py:408–410  ·  view source on GitHub ↗
(var)

Source from the content-addressed store, hash-verified

406
407
408def isoptional(var):
409 return ('attrspec' in var and 'optional' in var['attrspec'] and
410 'required' not in var['attrspec']) and isintent_nothide(var)
411
412
413def isexternal(var):

Callers 5

cb_routsign2mapFunction · 0.85
isrequiredFunction · 0.85
vars2fortranFunction · 0.85
buildcallbackFunction · 0.85
buildapiFunction · 0.85

Calls 1

isintent_nothideFunction · 0.85

Tested by

no test coverage detected