Skip to content

Commit c337181

Browse files
committed
pacify the jit
1 parent 3513e8f commit c337181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_list.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ extern "C" {
1313
#endif
1414

1515
PyAPI_FUNC(PyObject*) _PyList_Extend(PyListObject *, PyObject *);
16+
PyAPI_FUNC(PyObject) *_PyList_Subscript(PyObject*, PyObject*);
1617
extern void _PyList_DebugMallocStats(FILE *out);
1718
// _PyList_GetItemRef should be used only when the object is known as a list
1819
// because it doesn't raise TypeError when the object is not a list, whereas PyList_GetItemRef does.
1920
extern PyObject* _PyList_GetItemRef(PyListObject *, Py_ssize_t i);
2021

21-
extern PyObject *_PyList_Subscript(PyObject*, PyObject*);
2222

2323
#ifdef Py_GIL_DISABLED
2424
// Returns -1 in case of races with other threads.

0 commit comments

Comments
 (0)