diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-02 10:32:10 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-02 10:32:10 (GMT) |
commit | 805ae0d39d5c4f57929dc85f6319271b52e443c6 (patch) | |
tree | f34a1d54058519fdb35e0b257a4eedfe0ac57688 /Doc/library | |
parent | a3eb8122aeb9515b9ae955b30313f846c628b122 (diff) | |
parent | 75b936ec7fa6c2814aed7d857ad86c7d3c574947 (diff) | |
download | cpython-805ae0d39d5c4f57929dc85f6319271b52e443c6.zip cpython-805ae0d39d5c4f57929dc85f6319271b52e443c6.tar.gz cpython-805ae0d39d5c4f57929dc85f6319271b52e443c6.tar.bz2 |
Fix incorrect grammar in sched documentation.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/sched.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst index e73ba40..cb5fe4f 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`). |