Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
pacify the jit
  • Loading branch information
iritkatriel committed Apr 17, 2025
commit c337181bc327135e367c7175d896673f2db1cb1e
2 changes: 1 addition & 1 deletion Include/internal/pycore_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ extern "C" {
#endif

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

extern PyObject *_PyList_Subscript(PyObject*, PyObject*);

#ifdef Py_GIL_DISABLED
// Returns -1 in case of races with other threads.
Expand Down
Loading