MCPcopy Index your code
hub / github.com/RustPython/RustPython / convert

Function convert

Lib/inspect.py:1375–1377  ·  view source on GitHub ↗
(name, locals=locals,
                formatarg=formatarg, formatvalue=formatvalue)

Source from the content-addressed store, hash-verified

1373 that are called to turn names and values into strings. The ninth
1374 argument is an optional function to format the sequence of arguments."""
1375 def convert(name, locals=locals,
1376 formatarg=formatarg, formatvalue=formatvalue):
1377 return formatarg(name) + formatvalue(locals[name])
1378 specs = []
1379 for i in range(len(args)):
1380 specs.append(convert(args[i]))

Callers 7

formatargvaluesFunction · 0.70
splitMethod · 0.50
rsplitMethod · 0.50
py_split_whitespaceMethod · 0.50
py_rsplit_whitespaceMethod · 0.50
py_split_whitespaceMethod · 0.50
py_rsplit_whitespaceMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected