diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-11-25 05:48:26 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-11-25 05:48:26 (GMT) |
commit | db897b196163a2930dcbf2f516f5549b09ba7998 (patch) | |
tree | 7edeca456879bceb7ca34e189994ebfdd2a2da89 /Doc | |
parent | 3e60747025edc34b503397ab8211be59cfdd05cd (diff) | |
download | cpython-db897b196163a2930dcbf2f516f5549b09ba7998.zip cpython-db897b196163a2930dcbf2f516f5549b09ba7998.tar.gz cpython-db897b196163a2930dcbf2f516f5549b09ba7998.tar.bz2 |
Improve Scheduler Objects documentation. (GH-4556) (GH-4557)
Mention that the lower the priority number, the higher priority it represents.
(cherry picked from commit 9d5ec808de2c1359f434cc2fa8378458e4339c96)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/sched.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst index 4d4a616..6094a7b 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*. |