[Python-checkins] Improve Scheduler Objects documentation. (GH-4556)

Mariatta webhook-mailer at python.org
Sat Nov 25 00:43:04 EST 2017


https://github.com/python/cpython/commit/9d5ec808de2c1359f434cc2fa8378458e4339c96
commit: 9d5ec808de2c1359f434cc2fa8378458e4339c96
branch: master
author: Mariatta <Mariatta at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2017-11-24T21:43:01-08:00
summary:

Improve Scheduler Objects documentation. (GH-4556)

Mention that the lower the priority number, the higher priority it represents.

files:
M Doc/library/sched.rst

diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst
index 4d4a6161057..6094a7b8714 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*.



More information about the Python-checkins mailing list