-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Improve Scheduler Objects documentation. #4556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Mention that the lower the priority number, the higher priority it represents.
Thanks @Mariatta for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6. |
Thanks @Mariatta for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7. |
Mention that the lower the priority number, the higher priority it represents. (cherry picked from commit 9d5ec80)
GH-4557 is a backport of this pull request to the 3.6 branch. |
GH-4558 is a backport of this pull request to the 2.7 branch. |
Mention that the lower the priority number, the higher priority it represents. (cherry picked from commit 9d5ec80)
@@ -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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the former wording was unclear, wouldn't be better to add just a word "increasing": executed in the order of increasing their *priority*
. "Lower is higher" looks slightly orwellish to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@serhiy-storchaka So we should invert the meaning?
Mention that the lower the priority number, the higher priority it represents.