MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / formatargspec

Function formatargspec

Lib/inspect.py:845–869  ·  view source on GitHub ↗

Format an argument spec from the 4 values returned by getargspec. The first four arguments are (args, varargs, varkw, defaults). The other four arguments are the corresponding optional formatting functions that are called to turn names and values into strings. The ninth argument i

(args, varargs=None, varkw=None, defaults=None,
                  formatarg=str,
                  formatvarargs=lambda name: '*' + name,
                  formatvarkw=lambda name: '**' + name,
                  formatvalue=lambda value: '=' + repr(value),
                  join=joinseq)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

enumerateFunction · 0.85
strseqFunction · 0.85
appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected