diff options
Diffstat (limited to 'Include/traceback.h')
-rw-r--r-- | Include/traceback.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/traceback.h b/Include/traceback.h index 4c7b8cc..0b3bfae 100644 --- a/Include/traceback.h +++ b/Include/traceback.h @@ -22,7 +22,7 @@ PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *); /* Reveal traceback type so we can typecheck traceback objects */ PyAPI_DATA(PyTypeObject) PyTraceBack_Type; -#define PyTraceBack_Check(v) (Py_Type(v) == &PyTraceBack_Type) +#define PyTraceBack_Check(v) (Py_TYPE(v) == &PyTraceBack_Type) #ifdef __cplusplus } |