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

Function convert

numpy/_utils/_inspect.py:182–184  ·  view source on GitHub ↗
(name, locals=locals,
                formatarg=formatarg, formatvalue=formatvalue)

Source from the content-addressed store, hash-verified

180
181 """
182 def convert(name, locals=locals,
183 formatarg=formatarg, formatvalue=formatvalue):
184 return formatarg(name) + formatvalue(locals[name])
185 specs = [strseq(arg, convert, join) for arg in args]
186
187 if varargs:

Callers 4

strseqFunction · 0.70
test_upgrademapperMethod · 0.50
dump_variableMethod · 0.50
_get_varMethod · 0.50

Calls

no outgoing calls

Tested by 1

test_upgrademapperMethod · 0.40