Repository navigation
Docs: correct built-in exception, function, and dictionary descriptions - #160979
Conversation
Documentation build overview
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for these documentation corrections.
No open issues 🎉
What changed in this PR
This documentation-only PR corrects descriptions of Python’s built-in exceptions, functions, and dictionaries without changing runtime behavior.
Changes:
- Corrects
OSError.strerrordetails and removes outdated f-string syntax-error documentation. - Aligns function argument names with signatures and clarifies relative import levels.
- Clarifies dictionary construction and values-view equality, and fixes an exception hierarchy connector.
| File | Description |
|---|---|
Lib/test/exception_hierarchy.txt |
Fixes the branch connector for ImportCycleError. |
Doc/builtins/stdtypes.rst |
Corrects comprehension examples and clarifies values-view comparisons. |
Doc/builtins/functions.rst |
Corrects argument names and explains relative import levels. |
Doc/builtins/exceptions.rst |
Corrects error-message sources and removes obsolete f-string error details. |
Review effort: Balanced
|
Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
|
Sorry, @methane, I could not cleanly backport this to Please backport manually with cherry_picker, see the devguide for more information. |
|
GH-160993 is a backport of this pull request to the 3.15 branch. |
|
GH-160994 is a backport of this pull request to the 3.14 branch. |
|
|
|
Fix several inaccuracies found during translation review: