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

Method __call__

numpy/f2py/f2py2e.py:538–546  ·  view source on GitHub ↗
(self, parser, namespace, values, option_string=None)

Source from the content-addressed store, hash-verified

536
537class CombineIncludePaths(argparse.Action):
538 def __call__(self, parser, namespace, values, option_string=None):
539 include_paths_set = set(getattr(namespace, 'include_paths', []) or [])
540 if option_string == "--include_paths":
541 outmess("Use --include-paths or -I instead of --include_paths which will be removed")
542 if option_string in {"--include-paths", "--include_paths"}:
543 include_paths_set.update(values.split(':'))
544 else:
545 include_paths_set.add(values)
546 namespace.include_paths = list(include_paths_set)
547
548def f2py_parser():
549 parser = argparse.ArgumentParser(add_help=False)

Callers

nothing calls this directly

Calls 4

updateMethod · 0.80
splitMethod · 0.80
outmessFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected