mirror of
https://github.com/python/cpython.git
synced 2025-12-09 02:35:14 +00:00
#9683: remove broken dead code dealing with nested arguments removed from Py3k, and update the docs and docstrings accordingly.
This commit is contained in:
parent
f74cf77c8d
commit
c1c4bf85c1
2 changed files with 17 additions and 33 deletions
|
|
@ -422,19 +422,19 @@ Classes and functions
|
|||
|
||||
Get information about arguments passed into a particular frame. A
|
||||
:term:`named tuple` ``ArgInfo(args, varargs, keywords, locals)`` is
|
||||
returned. *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.
|
||||
returned. *args* is a list of the argument names. *varargs* and *varkw* are
|
||||
the names of the ``*`` and ``**`` arguments or ``None``. *locals* is the
|
||||
locals dictionary of the given frame.
|
||||
|
||||
|
||||
.. function:: formatargspec(args[, varargs, varkw, defaults, formatarg, formatvarargs, formatvarkw, formatvalue, join])
|
||||
.. function:: formatargspec(args[, varargs, varkw, defaults, formatarg, formatvarargs, formatvarkw, formatvalue])
|
||||
|
||||
Format a pretty argument spec from the four values returned by
|
||||
:func:`getargspec`. The format\* arguments are the corresponding optional
|
||||
formatting functions that are called to turn names and values into strings.
|
||||
|
||||
|
||||
.. function:: formatargvalues(args[, varargs, varkw, locals, formatarg, formatvarargs, formatvarkw, formatvalue, join])
|
||||
.. function:: formatargvalues(args[, varargs, varkw, locals, formatarg, formatvarargs, formatvarkw, formatvalue])
|
||||
|
||||
Format a pretty argument spec from the four values returned by
|
||||
:func:`getargvalues`. The format\* arguments are the corresponding optional
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue