From: Serhiy Storchaka Date: Wed, 2 Jan 2013 10:31:26 +0000 (+0200) Subject: Fix incorrect grammar in sched documentation. X-Git-Tag: v3.3.1rc1~435 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75b936ec7fa6c2814aed7d857ad86c7d3c574947;p=thirdparty%2FPython%2Fcpython.git Fix incorrect grammar in sched documentation. --- diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst index e73ba4071818..cb5fe4f7d37e 100644 --- a/Doc/library/sched.rst +++ b/Doc/library/sched.rst @@ -70,10 +70,8 @@ Scheduler Objects *priority*. Executing the event means executing ``action(*argument, **kwargs)``. - Optional *argument* argument must be a sequence holding the parameters - for *action* if any used. - Optional *kwargs* argument must be a dictionary holding the keyword - parameters for *action* if any used. + *argument* is a sequence holding the positional arguments for *action*. + *kwargs* is a dictionary holding the keyword arguments for *action*. Return value is an event which may be used for later cancellation of the event (see :meth:`cancel`).