Commit 9d5ec808 authored by Mariatta's avatar Mariatta Committed by GitHub

Improve Scheduler Objects documentation. (GH-4556)

Mention that the lower the priority number, the higher priority it represents.
parent 610e5afd
...@@ -69,7 +69,7 @@ Scheduler Objects ...@@ -69,7 +69,7 @@ Scheduler Objects
Schedule a new event. The *time* argument should be a numeric type compatible Schedule a new event. The *time* argument should be a numeric type compatible
with the return value of the *timefunc* function passed to the constructor. with the return value of the *timefunc* function passed to the constructor.
Events scheduled for the same *time* will be executed in the order of their Events scheduled for the same *time* will be executed in the order of their
*priority*. *priority*. A lower number represents a higher priority.
Executing the event means executing ``action(*argument, **kwargs)``. Executing the event means executing ``action(*argument, **kwargs)``.
*argument* is a sequence holding the positional arguments for *action*. *argument* is a sequence holding the positional arguments for *action*.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment