diff options
Diffstat (limited to 'Include/funcobject.h')
-rw-r--r-- | Include/funcobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/funcobject.h b/Include/funcobject.h index 3e37e11..eb19f4c 100644 --- a/Include/funcobject.h +++ b/Include/funcobject.h @@ -39,7 +39,7 @@ typedef struct { PyAPI_DATA(PyTypeObject) PyFunction_Type; -#define PyFunction_Check(op) (Py_Type(op) == &PyFunction_Type) +#define PyFunction_Check(op) (Py_TYPE(op) == &PyFunction_Type) PyAPI_FUNC(PyObject *) PyFunction_New(PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyFunction_GetCode(PyObject *); |