diff options
Diffstat (limited to 'Include/code.h')
-rw-r--r-- | Include/code.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/code.h b/Include/code.h index 3afddd2..107eba4 100644 --- a/Include/code.h +++ b/Include/code.h @@ -115,7 +115,7 @@ typedef struct { PyAPI_DATA(PyTypeObject) PyCode_Type; -#define PyCode_Check(op) (Py_TYPE(op) == &PyCode_Type) +#define PyCode_Check(op) Py_IS_TYPE(op, &PyCode_Type) #define PyCode_GetNumFree(op) (PyTuple_GET_SIZE((op)->co_freevars)) /* Public interface */ |