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

Function isvariable

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

Source from the content-addressed store, hash-verified

521
522
523def isvariable(var):
524 # heuristic to find public/private declarations of filtered subroutines
525 if len(var) == 1 and 'attrspec' in var and \
526 var['attrspec'][0] in ('public', 'private'):
527 is_var = False
528 else:
529 is_var = True
530 return is_var
531
532def hasinitvalue(var):
533 return '=' in var

Callers 1

buildhooksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…