diff options
Diffstat (limited to 'Doc/lib/libnew.tex')
-rw-r--r-- | Doc/lib/libnew.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libnew.tex b/Doc/lib/libnew.tex index df7adfb..e96415c 100644 --- a/Doc/lib/libnew.tex +++ b/Doc/lib/libnew.tex @@ -27,12 +27,12 @@ callable, and \var{instance} must be an instance object or \code{None}. \end{funcdesc} -\begin{funcdesc}{function}{code, globals\optional{, name\optional{argdefs}}} +\begin{funcdesc}{function}{code, globals\optional{, name\optional{, argdefs}}} Returns a (Python) function with the given code and globals. If \var{name} is given, it must be a string or \code{None}. If it is a string, the function will have the given name, otherwise the function name will be taken from \code{\var{code}.co_name}. If -\var{argdefs} is given, it must be a tuple and will be used to the +\var{argdefs} is given, it must be a tuple and will be used to determine the default values of parameters. \end{funcdesc} |