diff options
author | Brett Cannon <bcannon@gmail.com> | 2004-07-10 21:13:06 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2004-07-10 21:13:06 (GMT) |
commit | 91cc5cd188acb4f21f11389c4d170138bb9e103e (patch) | |
tree | b342d55056803aad96230260d3ef4d90c09bffd7 /Doc/lib/libinspect.tex | |
parent | bdc36273a2e1cd4a3985f44261e3c9df5c8a19cc (diff) | |
download | cpython-91cc5cd188acb4f21f11389c4d170138bb9e103e.zip cpython-91cc5cd188acb4f21f11389c4d170138bb9e103e.tar.gz cpython-91cc5cd188acb4f21f11389c4d170138bb9e103e.tar.bz2 |
Clarify docs for inspect.getargspec() that the fourth value is None when there
are no default arguments for the function.
Diffstat (limited to 'Doc/lib/libinspect.tex')
-rw-r--r-- | Doc/lib/libinspect.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libinspect.tex b/Doc/lib/libinspect.tex index 68ae67b..5cabb80 100644 --- a/Doc/lib/libinspect.tex +++ b/Doc/lib/libinspect.tex @@ -255,9 +255,9 @@ Note: \var{args} is a list of the argument names (it may contain nested lists). \var{varargs} and \var{varkw} are the names of the \code{*} and \code{**} arguments or \code{None}. - \var{defaults} is a tuple of default argument values; if this tuple - has \var{n} elements, they correspond to the last \var{n} elements - listed in \var{args}. + \var{defaults} is a tuple of default argument values or None if there are no + default arguments; if this tuple has \var{n} elements, they correspond to + the last \var{n} elements listed in \var{args}. \end{funcdesc} \begin{funcdesc}{getargvalues}{frame} |