diff options
Diffstat (limited to 'Include/fileobject.h')
-rw-r--r-- | Include/fileobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/fileobject.h b/Include/fileobject.h index dde5b8f..75b0f03 100644 --- a/Include/fileobject.h +++ b/Include/fileobject.h @@ -30,7 +30,7 @@ typedef struct { PyAPI_DATA(PyTypeObject) PyFile_Type; #define PyFile_Check(op) PyObject_TypeCheck(op, &PyFile_Type) -#define PyFile_CheckExact(op) (Py_Type(op) == &PyFile_Type) +#define PyFile_CheckExact(op) (Py_TYPE(op) == &PyFile_Type) PyAPI_FUNC(PyObject *) PyFile_FromString(char *, char *); PyAPI_FUNC(void) PyFile_SetBufSize(PyObject *, int); |