]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add a note that apply() is needed since the extended call syntax is
authorFred Drake <fdrake@acm.org>
Thu, 22 Aug 2002 14:27:22 +0000 (14:27 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 22 Aug 2002 14:27:22 +0000 (14:27 +0000)
completely equivalent.

Doc/lib/libfuncs.tex

index 4383b6e1d0e500c669102d4a0625cc3a4ccb8f66..9a91ea9c471419940ca7b87ff763f80fa96a9a05 100644 (file)
@@ -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}}}