From: Fred Drake Date: Thu, 22 Aug 2002 14:27:22 +0000 (+0000) Subject: Add a note that apply() is needed since the extended call syntax is X-Git-Tag: v2.2.2b1~208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e35aa233b2175cf9576e9099365b9c09789ce477;p=thirdparty%2FPython%2Fcpython.git 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 4383b6e1d0e5..9a91ea9c4714 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}{buffer}{object\optional{, offset\optional{, size}}}