Skip to content

Commit 6ffeef1

Browse files
[3.13] gh-137043: mention PyList_GET_ITEM as unsafe borrowed API in free-threading docs (GH-137042) (#137046)
gh-137043: mention `PyList_GET_ITEM` as unsafe borrowed API in free-threading docs (GH-137042) (cherry picked from commit 38b936c) Co-authored-by: Guido Imperiale <[email protected]>
1 parent 9ab885e commit 6ffeef1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/howto/free-threading-extensions.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ that return :term:`strong references <strong reference>`.
159159
+===================================+===================================+
160160
| :c:func:`PyList_GetItem` | :c:func:`PyList_GetItemRef` |
161161
+-----------------------------------+-----------------------------------+
162+
| :c:func:`PyList_GET_ITEM` | :c:func:`PyList_GetItemRef` |
163+
+-----------------------------------+-----------------------------------+
162164
| :c:func:`PyDict_GetItem` | :c:func:`PyDict_GetItemRef` |
163165
+-----------------------------------+-----------------------------------+
164166
| :c:func:`PyDict_GetItemWithError` | :c:func:`PyDict_GetItemRef` |

0 commit comments

Comments
 (0)