Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.14] documentPy_VISIT as a macro in the docs (GH-133688)#134186

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

Merged
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
documentPy_VISIT as a macro in the docs (GH-133688)
(cherry picked from commitbb32f3c)Co-authored-by: da-woods <dw-git@d-woods.co.uk>
  • Loading branch information
@da-woods@miss-islington
da-woods authored andmiss-islington committedMay 18, 2025
commit657910cb22b41be4bda01528fb6b6aa96363280c
4 changes: 2 additions & 2 deletionsDoc/c-api/gcsupport.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -180,9 +180,9 @@ provided. In order to use this macro, the :c:member:`~PyTypeObject.tp_traverse`
must name its arguments exactly *visit* and *arg*:


.. c:function::voidPy_VISIT(PyObject *o)
.. c:macro:: Py_VISIT(o)

If *o* is not ``NULL``, call the *visit* callback, with arguments *o*
Ifthe :c:expr:`PyObject *`*o* is not ``NULL``, call the *visit* callback, with arguments *o*
and *arg*. If *visit* returns a non-zero value, then return it.
Using this macro, :c:member:`~PyTypeObject.tp_traverse` handlers
look like::
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp