From: Fred Drake Date: Mon, 23 Jul 2001 19:28:09 +0000 (+0000) Subject: When explaining the enterabs() method, using the modern spelling of apply(), X-Git-Tag: v2.2a3~981 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fd3b22847c63fc13b67de936507b7e5e6b5e71d;p=thirdparty%2FPython%2Fcpython.git When explaining the enterabs() method, using the modern spelling of apply(), and relax the type of the argument list from tuple to sequence. --- diff --git a/Doc/lib/libsched.tex b/Doc/lib/libsched.tex index 678772d1e1db..6b586a845c79 100644 --- a/Doc/lib/libsched.tex +++ b/Doc/lib/libsched.tex @@ -55,9 +55,9 @@ to the constructor. Events scheduled for the same \var{time} will be executed in the order of their \var{priority}. -Executing the event means executing \code{apply(\var{action}, -\var{argument})}. \var{argument} must be a tuple holding the -parameters for \var{action}. +Executing the event means executing +\code{\var{action}(*\var{argument})}. \var{argument} must be a +sequence holding the parameters for \var{action}. Return value is an event which may be used for later cancellation of the event (see \method{cancel()}).