summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-01-02 10:31:26 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-01-02 10:31:26 (GMT)
commit75b936ec7fa6c2814aed7d857ad86c7d3c574947 (patch)
treedb3f3db41a65d930397cb55ec822a6f2c69f20e2 /Doc
parent89faf4fe23263930e2011d55a57a39394e9d968c (diff)
downloadcpython-75b936ec7fa6c2814aed7d857ad86c7d3c574947.zip
cpython-75b936ec7fa6c2814aed7d857ad86c7d3c574947.tar.gz
cpython-75b936ec7fa6c2814aed7d857ad86c7d3c574947.tar.bz2
Fix incorrect grammar in sched documentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/sched.rst6
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`).