Skip to content

Improve Scheduler Objects documentation.#4556

Merged
Mariatta merged 2 commits into
python:masterfrom
Mariatta:update-sched-rst
Nov 25, 2017
Merged

Improve Scheduler Objects documentation.#4556
Mariatta merged 2 commits into
python:masterfrom
Mariatta:update-sched-rst

Conversation

@Mariatta

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@miss-islington

Copy link
Copy Markdown
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
Copy Markdown

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

@bedevere-bot

Copy link
Copy Markdown

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)
Comment thread Doc/library/sched.rst
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
Copy Markdown
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.

Copy link
Copy Markdown

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