We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3513e8f commit c337181Copy full SHA for c337181
Include/internal/pycore_list.h
@@ -13,12 +13,12 @@ extern "C" {
13
#endif
14
15
PyAPI_FUNC(PyObject*) _PyList_Extend(PyListObject *, PyObject *);
16
+PyAPI_FUNC(PyObject) *_PyList_Subscript(PyObject*, PyObject*);
17
extern void _PyList_DebugMallocStats(FILE *out);
18
// _PyList_GetItemRef should be used only when the object is known as a list
19
// because it doesn't raise TypeError when the object is not a list, whereas PyList_GetItemRef does.
20
extern PyObject* _PyList_GetItemRef(PyListObject *, Py_ssize_t i);
21
-extern PyObject *_PyList_Subscript(PyObject*, PyObject*);
22
23
#ifdef Py_GIL_DISABLED
24
// Returns -1 in case of races with other threads.
0 commit comments