summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-10-08 01:06:46 (GMT)
committerGuido van Rossum <guido@python.org>1995-10-08 01:06:46 (GMT)
commit0568d5e92c70a27320eb78d7389d0b28ab3f0fcc (patch)
treecbfd5994dcfc9a10039bd536a5d09c18e7fd0aa8 /Doc/lib
parente38a752d2525609d1a40c0a91eceebd464b576aa (diff)
downloadcpython-0568d5e92c70a27320eb78d7389d0b28ab3f0fcc.zip
cpython-0568d5e92c70a27320eb78d7389d0b28ab3f0fcc.tar.gz
cpython-0568d5e92c70a27320eb78d7389d0b28ab3f0fcc.tar.bz2
apply() third arg
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libfuncs.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 53d5100..34d2928 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -10,7 +10,7 @@ are always available. They are listed here in alphabetical order.
or long integer or a floating point number.
\end{funcdesc}
-\begin{funcdesc}{apply}{function\, args}
+\begin{funcdesc}{apply}{function\, args\optional{, keywords}}
The \var{function} argument must be a callable object (a user-defined or
built-in function or method, or a class object) and the \var{args}
argument must be a tuple. The \var{function} is called with
@@ -18,6 +18,9 @@ argument must be a tuple. The \var{function} is called with
of the tuple. (This is different from just calling
\code{\var{func}(\var{args})}, since in that case there is always
exactly one argument.)
+If the optional \var{keywords} argument is present, it must be a
+dictionary whose keys are strings. It specifies keyword arguments to
+be added to the end of the the argument list.
\end{funcdesc}
\begin{funcdesc}{chr}{i}