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

Method get

numpy/core/code_generators/generate_umath.py:25–31  ·  view source on GitHub ↗

Returns the C #definition name of docstring according to ufunc place. C #definitions are generated by generate_umath_doc.py in a separate C header.

(place)

Source from the content-addressed store, hash-verified

23class docstrings:
24 @staticmethod
25 def get(place):
26 """
27 Returns the C #definition name of docstring according
28 to ufunc place. C #definitions are generated by generate_umath_doc.py
29 in a separate C header.
30 """
31 return 'DOC_' + place.upper().replace('.', '_')
32
33# Sentinel value to specify using the full type description in the
34# function name

Callers 15

mainFunction · 0.45
build_projectFunction · 0.45
std_cxx_flagsFunction · 0.45
std_c_flagsFunction · 0.45
find_missingFunction · 0.45
mainFunction · 0.45
processFunction · 0.45
get_ilp64Function · 0.45
get_manylinuxFunction · 0.45
subFunction · 0.45
sub_htmlFunction · 0.45
wrapMethod · 0.45

Calls 2

replaceMethod · 0.80
upperMethod · 0.80

Tested by 15

mainFunction · 0.36
build_projectFunction · 0.36
check_fpu_modeFunction · 0.36
test_featuresMethod · 0.36
cpu_haveMethod · 0.36
test_max_minMethod · 0.36
test_scalar_copyMethod · 0.36
to_stringMethod · 0.36
test_against_cmathMethod · 0.36
test_axis_countMethod · 0.36
roundtripMethod · 0.36