From: Fred Drake Date: Thu, 22 Aug 2002 14:27:35 +0000 (+0000) Subject: Add a note that apply() is needed since the extended call syntax is X-Git-Tag: v2.3c1~4364 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ec486b87aabf1195ba124dbc86c331b5cca6462;p=python Add a note that apply() is needed since the extended call syntax is completely equivalent. --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index a6428da2c4..6e50ac7660 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}