(args,
varargs, varkw, defaults)
.
args is a list of the argument names (it may contain nested lists).
varargs and varkw are the names of the *
and
**
arguments or None
.
defaults is a tuple of default argument values; if this tuple
has n elements, they correspond to the last n elements
listed in args.
(args,
varargs, varkw, locals)
.
args is a list of the argument names (it may contain nested
lists).
varargs and varkw are the names of the *
and
**
arguments or None
.
locals is the locals dictionary of the given frame.
Format a pretty argument spec from the four values returned by getargspec(). The other four arguments are the corresponding optional formatting functions that are called to turn names and values into strings.
See About this document... for information on suggesting changes.