Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix override value in os.rst#123522

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rffontenelle wants to merge2 commits intopython:main
base:main
Choose a base branch
Loading
fromrffontenelle:patch-5

Conversation

rffontenelle
Copy link
Contributor

@rffontenellerffontenelle commentedAug 30, 2024
edited by github-actionsbot
Loading

In thepython -X cpu_count=n command line,n value is not overridden by anything. It actually overrides the defaultos.cpu_count()'s return value. So the text should say "override value" instead of "overridden value".

Please backport to 3.13


📚 Documentation preview 📚:https://cpython-previews--123522.org.readthedocs.build/

@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir skip news awaiting review labelsAug 30, 2024
@vstinnervstinner added the needs backport to 3.13bugs and security fixes labelSep 5, 2024
@@ -5555,7 +5555,7 @@ Miscellaneous System Information

.. versionchanged:: 3.13
If :option:`-X cpu_count <-X>` is given or :envvar:`PYTHON_CPU_COUNT` is set,
:func:`cpu_count` returns theoverridden value *n*.
:func:`cpu_count` returns theoverride value *n*.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The language is weird either way, may be 'overriding value'

Copy link
ContributorAuthor

@rffontenellerffontenelleSep 25, 2024
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Hi there. Shouldn't it be like "return value" used in these docs? (English is not my native language, so I could be mixing different things)

@serhiy-storchakaserhiy-storchaka added the needs backport to 3.14bugs and security fixes labelMay 8, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nanjekyejoannahnanjekyejoannahnanjekyejoannah left review comments

@corona10corona10Awaiting requested review from corona10

Assignees
No one assigned
Labels
awaiting reviewdocsDocumentation in the Doc dirneeds backport to 3.13bugs and security fixesneeds backport to 3.14bugs and security fixesskip issueskip news
Projects
Status: Todo
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@rffontenelle@nanjekyejoannah@vstinner@hugovk@serhiy-storchaka

[8]ページ先頭

©2009-2025 Movatter.jp