summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/te/_TEmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/te/_TEmodule.c')
-rw-r--r--Mac/Modules/te/_TEmodule.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Mac/Modules/te/_TEmodule.c b/Mac/Modules/te/_TEmodule.c
index 90efc8c..2b06484 100644
--- a/Mac/Modules/te/_TEmodule.c
+++ b/Mac/Modules/te/_TEmodule.c
@@ -5,12 +5,8 @@
-#ifdef _WIN32
-#include "pywintoolbox.h"
-#else
#include "macglue.h"
#include "pymactoolbox.h"
-#endif
/* Macro to test whether a weak-loaded CFM function exists */
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\
@@ -793,7 +789,7 @@ static PyObject *TEObj_getattr(TEObject *self, char *name)
#define TEObj_hash NULL
PyTypeObject TE_Type = {
- PyObject_HEAD_INIT(&PyType_Type)
+ PyObject_HEAD_INIT(NULL)
0, /*ob_size*/
"TE", /*tp_name*/
sizeof(TEObject), /*tp_basicsize*/