From b2031f72d325ea3a05b51d89ead3e2cbb0bef659 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 1 Oct 1998 15:35:43 +0000 Subject: [PATCH] Document that apply() can now take any sequence in argument 2. --- Doc/lib/libfuncs.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 0b0a8310bda..8914883d823 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -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.)