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

Function isstringfunction

numpy/f2py/auxfuncs.py:383–392  ·  view source on GitHub ↗
(rout)

Source from the content-addressed store, hash-verified

381
382
383def isstringfunction(rout):
384 if not isfunction(rout):
385 return 0
386 if 'result' in rout:
387 a = rout['result']
388 else:
389 a = rout['name']
390 if a in rout['vars']:
391 return isstring(rout['vars'][a])
392 return 0
393
394
395def hasexternals(rout):

Callers 3

getstrlengthFunction · 0.85
routsign2mapFunction · 0.85
cb_routsign2mapFunction · 0.85

Calls 2

isstringFunction · 0.85
isfunctionFunction · 0.70

Tested by

no test coverage detected