-
-
Notifications
You must be signed in to change notification settings - Fork 33k
gh-101100: Fix reference warnings in c-api/init.rst
documenting PyGILState_STATE
#139572
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
base: main
Are you sure you want to change the base?
Conversation
will simply return ``NULL`` indicating that there was no prior thread state. | ||
.. seealso: | ||
.. seealso:: |
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.
hmm, this ought've been caught by sphinx-lint, cc @ezio-melotti @hugovk
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.
Thanks, the PyGILState_GetThisThreadState
change looks good. I'll leave the rest of this to the Sphinx wizards.
PyGILState_STATE
: If we don't want to document, I can add it to the ignore list.I also fixed two
.. seealso::
blocks I noticed.📚 Documentation preview 📚: https://cpython-previews--139572.org.readthedocs.build/