Skip to content

Commit

Permalink
Move Py_TYPE to border line
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Sep 4, 2018
1 parent 3708300 commit 10dd407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/bad_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ Macros
* ``PyTuple_GET_ITEM()``
* ``PyTuple_SET_ITEM()``
* ``PyWeakref_GET_OBJECT()``
* ``Py_TYPE()``

Border line:

* ``Py_TYPE()``
* ``Py_SETREF()``, ``Py_XSETREF()``: the caller has to manually increment the
reference counter of the new value

Expand Down

0 comments on commit 10dd407

Please sign in to comment.