mirror of
https://github.com/python/cpython.git
synced 2026-02-21 06:30:52 +00:00
[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 38b936cc99)
Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
This commit is contained in:
parent
9ab885e0a1
commit
6ffeef10b2
1 changed files with 2 additions and 0 deletions
|
|
@ -159,6 +159,8 @@ that return :term:`strong references <strong reference>`.
|
|||
+===================================+===================================+
|
||||
| :c:func:`PyList_GetItem` | :c:func:`PyList_GetItemRef` |
|
||||
+-----------------------------------+-----------------------------------+
|
||||
| :c:func:`PyList_GET_ITEM` | :c:func:`PyList_GetItemRef` |
|
||||
+-----------------------------------+-----------------------------------+
|
||||
| :c:func:`PyDict_GetItem` | :c:func:`PyDict_GetItemRef` |
|
||||
+-----------------------------------+-----------------------------------+
|
||||
| :c:func:`PyDict_GetItemWithError` | :c:func:`PyDict_GetItemRef` |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue