mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
When explaining the enterabs() method, using the modern spelling of apply(),
and relax the type of the argument list from tuple to sequence.
This commit is contained in:
parent
6fdb90c0ca
commit
6fd3b22847
1 changed files with 3 additions and 3 deletions
|
|
@ -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()}).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue