summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-15 16:07:41 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-15 16:07:41 (GMT)
commitc1c4bf85c1431d24f8960c4c7b4df3971ec9e8ed (patch)
tree138e388c39288f0f39959fab00e3413b010b2107 /Doc/library
parentf74cf77c8dbe75929d956cbeee7edc4ed24a12ba (diff)
downloadcpython-c1c4bf85c1431d24f8960c4c7b4df3971ec9e8ed.zip
cpython-c1c4bf85c1431d24f8960c4c7b4df3971ec9e8ed.tar.gz
cpython-c1c4bf85c1431d24f8960c4c7b4df3971ec9e8ed.tar.bz2
#9683: remove broken dead code dealing with nested arguments removed from Py3k, and update the docs and docstrings accordingly.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/inspect.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index fe2bc29..0f54376 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -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