Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-101100: Fix sphinx warnings inc-api/gcsupport.rst
#114786
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Doc/c-api/gcsupport.rst Outdated
Returns the resized object of type ``TYPE*`` (refers to any C type) | ||
or ``NULL`` on failure. | ||
*op* must of type :c:expr:`PyVarObject *` |
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.
be?
Uh oh!
There was an error while loading.Please reload this page.
…GH-114786)(cherry picked from commit4821f08)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Sorry,@sobolevn and@hugovk, I could not cleanly backport this to
|
GH-115263 is a backport of this pull request to the3.12 branch. |
…ythonGH-114786)(cherry picked from commit4821f08)Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
GH-115430 is a backport of this pull request to the3.11 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Before:
I think that
PyObject_GC_Resize
should be documented as a macro. Because it is:cpython/Include/objimpl.h
Lines 179 to 180 inc8cf5d7
Previous error was correct, there's no such thing as
TYPE
outside of the macro context.📚 Documentation preview 📚:https://cpython-previews--114786.org.readthedocs.build/en/114786/c-api/gcsupport.html#c.PyObject_GC_Resize