Skip to content

Commit

Permalink
Bad API
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Jun 23, 2023
1 parent 1279490 commit 9e41a20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/bad_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ Functions
* ``PyThreadState_GetDict()``
* ``PyTuple_GET_ITEM()``: use ``PySequence_GetItem()``
* ``PyTuple_GetItem()``: use ``PySequence_GetItem()``
* ``PyWeakref_GET_OBJECT()``
* ``PyWeakref_GetObject()``: see https://mail.python.org/pipermail/python-dev/2016-October/146604.html
* ``PyWeakref_GET_OBJECT()``: use ``PyWeakref_GetRef()``
* ``PyWeakref_GetObject()``: see ``PyWeakref_GetRef()``
* ``Py_TYPE()``: use ``PyObject_Type()``

Misc:
Expand Down

0 comments on commit 9e41a20

Please sign in to comment.