-
-
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-101100: Fix sphinx warnings in c-api/file.rst
#114546
Conversation
af83cde
to
46e1fa6
Compare
Turns out I've also fixed |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
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.
Thank you!
GH-114584 is a backport of this pull request to the 3.12 branch. |
GH-114585 is a backport of this pull request to the 3.11 branch. |
…#114585) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
It creates incorrect references and index entries. |
Which ones are wrong? |
The newly documented names. They are added in wrong namespaces. |
New references:
I think that the first one is indeed in correct. It should be: https://cpython-previews--114546.org.readthedocs.build/en/114546/c-api/file.html#c.Py_OpenCodeHookFunction Yes, this would be more correct! Thank you |
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
It used to be:
I've added docs about two public things:
Py_PRINT_RAW
macroPy_OpenCodeHookFunction
typedef📚 Documentation preview 📚: https://cpython-previews--114546.org.readthedocs.build/