From: Mariatta Date: Sat, 25 Nov 2017 05:43:01 +0000 (-0800) Subject: Improve Scheduler Objects documentation. (GH-4556) X-Git-Tag: v3.7.0a3~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d5ec808de2c1359f434cc2fa8378458e4339c96;p=thirdparty%2FPython%2Fcpython.git Improve Scheduler Objects documentation. (GH-4556) Mention that the lower the priority number, the higher priority it represents. --- diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst index 4d4a6161057c..6094a7b87145 100644 --- a/Doc/library/sched.rst +++ b/Doc/library/sched.rst @@ -69,7 +69,7 @@ Scheduler Objects 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. 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)``. *argument* is a sequence holding the positional arguments for *action*.