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

Function get_processor

numpy/_build_utils/process_src_template.py:7–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def get_processor():
8 # Convoluted because we can't import from numpy
9 # (numpy is not yet built)
10 conv_template_path = os.path.join(
11 os.path.dirname(__file__),
12 'conv_template.py'
13 )
14 spec = importlib.util.spec_from_file_location(
15 'conv_template', conv_template_path
16 )
17 mod = importlib.util.module_from_spec(spec)
18 spec.loader.exec_module(mod)
19 return mod.process_file
20
21
22def process_and_write_file(fromfile, outfile):

Callers 1

process_and_write_fileFunction · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…