Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 805ae0d

Browse files
Fix incorrect grammar in sched documentation.
2 parents a3eb812 + 75b936e commit 805ae0d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Doc/library/sched.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,8 @@ Scheduler Objects
7070
*priority*.
7171

7272
Executing the event means executing ``action(*argument, **kwargs)``.
73-
Optional *argument* argument must be a sequence holding the parameters
74-
for *action* if any used.
75-
Optional *kwargs* argument must be a dictionary holding the keyword
76-
parameters for *action* if any used.
73+
*argument* is a sequence holding the positional arguments for *action*.
74+
*kwargs* is a dictionary holding the keyword arguments for *action*.
7775

7876
Return value is an event which may be used for later cancellation of the event
7977
(see :meth:`cancel`).

0 commit comments

Comments
 (0)