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

Method visit

numpy/f2py/symbolic.py:721–726  ·  view source on GitHub ↗
(expr, found=found)

Source from the content-addressed store, hash-verified

719 found = []
720
721 def visit(expr, found=found):
722 if found:
723 return expr
724 elif expr == other:
725 found.append(1)
726 return expr
727
728 self.traverse(visit)
729

Callers 3

find_missingFunction · 0.80
visit_CallMethod · 0.80
test_warning_callsFunction · 0.80

Calls 2

traverseMethod · 0.80
addMethod · 0.45

Tested by 2

visit_CallMethod · 0.64
test_warning_callsFunction · 0.64