Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a5120e commit a49ccf2Copy full SHA for a49ccf2
1 file changed
Doc/c-api/gcsupport.rst
@@ -126,9 +126,10 @@ must name its arguments exactly *visit* and *arg*:
126
127
.. c:function:: void Py_VISIT(PyObject *o)
128
129
- Call the *visit* callback, with arguments *o* and *arg*. If *visit* returns
130
- a non-zero value, then return it. Using this macro, :c:member:`~PyTypeObject.tp_traverse`
131
- handlers look like::
+ If *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
132
+ look like::
133
134
static int
135
my_traverse(Noddy *self, visitproc visit, void *arg)
0 commit comments