-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
gh-107298: Add standard exceptions and warnings in the nitpick_ignore list #108029
gh-107298: Add standard exceptions and warnings in the nitpick_ignore list #108029
Conversation
] | ||
|
||
# Temporary undocumented names. | ||
# In future this list must be empty. |
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.
A fix would be to replace :c:data:`Exception`
with .. c:data:`Exception`
in Doc/c-api/exceptions.rst, right?
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.
I tried this, and it turned out not so simple. You need to specify the type:
.. c:var:: PyObject *PyExc_SomeError
and the result does not look good.
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
GH-108070 is a backport of this pull request to the 3.12 branch. |
…ignore list (pythonGH-108029) (cherry picked from commit c9d83f9) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-108071 is a backport of this pull request to the 3.11 branch. |
…ignore list (pythonGH-108029) (cherry picked from commit c9d83f9) Co-authored-by: Serhiy Storchaka <[email protected]>
…_ignore list (GH-108029) (GH-108071) (cherry picked from commit c9d83f9) Co-authored-by: Serhiy Storchaka <[email protected]>
📚 Documentation preview 📚: https://cpython-previews--108029.org.readthedocs.build/