Document that apply() can now take any sequence in argument 2.

This commit is contained in:
Barry Warsaw 1998-10-01 15:35:43 +00:00
parent 968f8cbace
commit b2031f72d3
1 changed files with 3 additions and 2 deletions

View File

@ -55,8 +55,9 @@ find the \code{eggs} variable.
\begin{funcdesc}{apply}{function, args\optional{, keywords}}
The \var{function} argument must be a callable object (a user-defined or
built-in function or method, or a class object) and the \var{args}
argument must be a tuple. The \var{function} is called with
\var{args} as argument list; the number of arguments is the the length
argument must be a sequence (if it is not a tuple, the sequence is
first converted to a tuple). The \var{function} is called with
\var{args} as the argument list; the number of arguments is the the length
of the tuple. (This is different from just calling
\code{\var{func}(\var{args})}, since in that case there is always
exactly one argument.)