8000 new fuctions · adamtheturtle/pythoncapi@c747813 · GitHub
[go: up one dir, main page]

Skip to content

Commit c747813

Browse files
committed
new fuctions
fix also reST syntax
1 parent 70ca984 commit c747813

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/new_api.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,16 @@ New functions
2828

2929
* ``PyTuple_GetItemRef()``: similar to ``PyTuple_GetItem()`` but returns a
3030
strong reference, rather than a borrowed reference
31+
* ``PyList_GetItemRef()``: similar to ``PyList_GetItem()`` but returns a
32+
strong reference, rather than a borrowed reference
3133
* ``PyTuple_SetItemRef()``: similar to ``PyTuple_SetItem()`` but uses a strong
3234
reference on the item
35+
* ``PySequence_Fast_GetItemRef()``
36+
* ``PyStructSequence_SetItemRef()``
3337

3438
XXX private functions:
3539

36-
* ``_Py_SET_TYPE()``: see :ref:`Implement a PyTypeObject in C <impl-pytype>`_
40+
* ``_Py_SET_TYPE()``: see :ref:`Implement a PyTypeObject in C <impl-pytype>`
3741
* ``_Py_SET_SIZE()``
3842

3943
Non-goal
@@ -92,7 +96,7 @@ as l-value::
9296

9397
XXX in the current implementation, ``_Py_SET_SIZE()`` and ``_Py_SET_TYPE()``
9498
macros have been added for such use case. For the type, see also
95-
:ref:`Implement a PyTypeObject in C <impl-pytype>`_.
99+
:ref:`Implement a PyTypeObject in C <impl-pytype>`.
96100

97101

98102
.. _incref:

0 commit comments

Comments
 (0)
0