Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
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
base:main
Are you sure you want to change the base?
Fix override value in os.rst#123522
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@@ -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*. |
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.
The language is weird either way, may be 'overriding value'
rffontenelleSep 25, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
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)
Uh oh!
There was an error while loading.Please reload this page.
In the
python -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/