[Python-checkins] cpython (merge 3.3 -> default): Fix incorrect grammar in sched documentation.
serhiy.storchaka
python-checkins at python.org
Wed Jan 2 11:33:11 CET 2013
http://hg.python.org/cpython/rev/95379bf91df4
changeset: 81232:95379bf91df4
parent: 81230:ec4a8df89d45
parent: 81231:6db9ffce83ef
user: Serhiy Storchaka <storchaka at gmail.com>
date: Wed Jan 02 12:32:10 2013 +0200
summary:
Fix incorrect grammar in sched documentation.
files:
Doc/library/sched.rst | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst
--- a/Doc/library/sched.rst
+++ b/Doc/library/sched.rst
@@ -70,10 +70,8 @@
*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`).
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list