8000 new API XXX · adamtheturtle/pythoncapi@cfa9dd5 · GitHub
[go: up one dir, main page]

Skip to content

Commit cfa9dd5

Browse files
committed
new API XXX
1 parent 431d36a commit cfa9dd5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/new_api.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ see the :ref:`Regular runtime <regular-runtime>`.
2626
New functions
2727
=============
2828

29+
XXX the following functions have been added to the current WORK-IN-PROGRESS
30+
implementation of the new C API. Maybe they will go away later. It's just a
31+
small step to move away from borrowed references. Maybe existing
32+
``PyObject_GetItem()`` and ``PyObject_SetItem()`` are already good enough.
33+
2934
* ``PyTuple_GetItemRef()``: similar to ``PyTuple_GetItem()`` but returns a
3035
strong reference, rather than a borrowed reference
3136
* ``PyList_GetItemRef()``: similar to ``PyList_GetItem()`` but returns a

0 commit comments

Comments
 (0)
0