Skip to content

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

Merged
merged 2 commits into from
Nov 25, 2017

Conversation

Mariatta
Copy link
Member

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

Mention that the lower the priority number, the higher priority it represents.
@Mariatta Mariatta merged commit 9d5ec80 into python:master Nov 25, 2017
@miss-islington
Copy link
Contributor

Thanks @Mariatta for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @Mariatta for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 25, 2017
Mention that the lower the priority number, the higher priority it represents.
(cherry picked from commit 9d5ec80)
@bedevere-bot
Copy link

GH-4557 is a backport of this pull request to the 3.6 branch.

@bedevere-bot
Copy link

GH-4558 is a backport of this pull request to the 2.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 25, 2017
Mention that the lower the priority number, the higher priority it represents.
(cherry picked from commit 9d5ec80)
Mariatta pushed a commit that referenced this pull request Nov 25, 2017
Mention that the lower the priority number, the higher priority it represents.
(cherry picked from commit 9d5ec80)
Mariatta pushed a commit that referenced this pull request Nov 25, 2017
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.
Copy link
Member

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.

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants