summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-08-22 14:27:35 (GMT)
committerFred Drake <fdrake@acm.org>2002-08-22 14:27:35 (GMT)
commit5ec486b87aabf1195ba124dbc86c331b5cca6462 (patch)
tree9e0cc2788e65321236c648c204acc3b6da5f3897 /Doc
parent1e9718a334debdee8041ecee1fd7ddc56488177c (diff)
downloadcpython-5ec486b87aabf1195ba124dbc86c331b5cca6462.zip
cpython-5ec486b87aabf1195ba124dbc86c331b5cca6462.tar.gz
cpython-5ec486b87aabf1195ba124dbc86c331b5cca6462.tar.bz2
Add a note that apply() is needed since the extended call syntax is
completely equivalent.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libfuncs.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index a6428da..6e50ac7 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -75,6 +75,8 @@ def my_import(name):
\code{\var{function}(\var{args})}, since in that case there is always
exactly one argument. The use of \function{apply()} is equivalent
to \code{\var{function}(*\var{args}, **\var{keywords})}.
+ Use of \function{apply()} is not necessary since the ``extended call
+ syntax,'' as used in the last example, is completely equivalent.
\end{funcdesc}
\begin{funcdesc}{bool}{x}