Skip to content

Commit 76957eb

Browse files
miss-islingtonGH-133688) (GH-133688) (cherry picked from commit bb32f3c) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
1 parent 11650c3 commit 76957eb

File tree

1 file changed

+2
-2
lines changed
  • Doc/c-api
    • Original file line numberDiff line numberDiff line change
      @@ -180,9 +180,9 @@ provided. In order to use this macro, the :c:member:`~PyTypeObject.tp_traverse`
      180180
      must name its arguments exactly *visit* and *arg*:
      181181
      182182
      183-
      .. c:function:: void Py_VISIT(PyObject *o)
      183+
      .. c:macro:: Py_VISIT(o)
      184184
      185-
      If *o* is not ``NULL``, call the *visit* callback, with arguments *o*
      185+
      If the :c:expr:`PyObject *` *o* is not ``NULL``, call the *visit* callback, with arguments *o*
      186186
      and *arg*. If *visit* returns a non-zero value, then return it.
      187187
      Using this macro, :c:member:`~PyTypeObject.tp_traverse` handlers
      188188
      look like::

0 commit comments

Comments
 (0)

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant