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

Function process_str

numpy/distutils/conv_template.py:254–257  ·  view source on GitHub ↗
(astr)

Source from the content-addressed store, hash-verified

252 return ''.join(code)
253
254def process_str(astr):
255 code = [header]
256 code.extend(parse_string(astr, global_names, 0, 1))
257 return ''.join(code)
258
259
260include_src_re = re.compile(r"(\n|\A)#include\s*['\"]"

Callers 2

process_fileFunction · 0.70
mainFunction · 0.70

Calls 2

parse_stringFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected