diff --git a/Include/classobject.h b/Include/classobject.h index 9c4bc51d717..98100095b44 100644 --- a/Include/classobject.h +++ b/Include/classobject.h @@ -71,7 +71,7 @@ extern PyObject *PyMethod_Class Py_PROTO((PyObject *)); extern int PyClass_IsSubclass Py_PROTO((PyObject *, PyObject *)); -extern PyObject *instancebinop +extern PyObject *PyInstance_DoBinOp Py_PROTO((PyObject *, PyObject *, char *, char *, PyObject * (*) Py_PROTO((PyObject *, PyObject *)) )); diff --git a/Include/listobject.h b/Include/listobject.h index 47d30e45913..8e5e9731b16 100644 --- a/Include/listobject.h +++ b/Include/listobject.h @@ -63,7 +63,7 @@ extern PyObject *PyList_GetSlice Py_PROTO((PyObject *, int, int)); extern int PyList_SetSlice Py_PROTO((PyObject *, int, int, PyObject *)); extern int PyList_Sort Py_PROTO((PyObject *)); extern int PyList_Reverse Py_PROTO((PyObject *)); -extern PyObject *listtuple Py_PROTO((PyObject *)); +extern PyObject *PyList_AsTuple Py_PROTO((PyObject *)); /* Macro, trading safety for speed */ #define PyList_GET_ITEM(op, i) ((op)->ob_item[i])