]> granicus.if.org Git - python/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:35 +0000 (14:27 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 22 Aug 2002 14:27:35 +0000 (14:27 +0000)
completely equivalent.

Doc/lib/libfuncs.tex

index a6428da2c4acedfff380069632a16dd2db01bc9a..6e50ac7660614cb7123675fde1fc02cc95052f00 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}{bool}{x}