Add a note that apply() is needed since the extended call syntax is

completely equivalent.
This commit is contained in:
Fred Drake 2002-08-22 14:27:35 +00:00
parent 1e9718a334
commit 5ec486b87a
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ def my_import(name):
\code{\var{function}(\var{args})}, since in that case there is always \code{\var{function}(\var{args})}, since in that case there is always
exactly one argument. The use of \function{apply()} is equivalent exactly one argument. The use of \function{apply()} is equivalent
to \code{\var{function}(*\var{args}, **\var{keywords})}. 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} \end{funcdesc}
\begin{funcdesc}{bool}{x} \begin{funcdesc}{bool}{x}