]> granicus.if.org Git - python/commitdiff
Improve Scheduler Objects documentation. (GH-4556) (GH-4557)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 25 Nov 2017 05:48:26 +0000 (21:48 -0800)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 25 Nov 2017 05:48:26 +0000 (21:48 -0800)
Mention that the lower the priority number, the higher priority it represents.
(cherry picked from commit 9d5ec808de2c1359f434cc2fa8378458e4339c96)

Doc/library/sched.rst

index 4d4a6161057cc5cec1d2133459c51982012b6273..6094a7b871454ed10004528d94fd29edfc7f4612 100644 (file)
@@ -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*.