diff Modules/_tkinter.c @ 1888:be956b1efb97 legacy-trunk

* various modules: #include "Python.h" and remove most remporary renaming hacks
author Guido van Rossum <guido@python.org>
date Wed, 14 Sep 1994 13:32:22 +0000
parents 758c1374f303
children 392db1881190
line wrap: on
line diff
--- a/Modules/_tkinter.c	Wed Sep 14 13:31:22 1994 +0000
+++ b/Modules/_tkinter.c	Wed Sep 14 13:32:22 1994 +0000
@@ -1,36 +1,10 @@
 /* tkintermodule.c -- Interface to libtk.a and libtcl.a.
    Copyright (C) 1994 Steen Lumholt */
 
-#if 0
-#include <Py/Python.h>
-#else
+#include <Python.h>
 
-#include "allobjects.h"
-#include "pythonrun.h"
-#include "intrcheck.h"
-#include "modsupport.h"
-#include "sysmodule.h"
-
-#ifndef PyObject
-#define PyObject object
-typedef struct methodlist PyMethodDef;
-#endif
 #define PyInit_tkinter inittkinter
 
-#undef Py_True
-#define Py_True ((object *) &TrueObject)
-#undef True
-
-#undef Py_False
-#define Py_False ((object *) &FalseObject)
-#undef False
-
-#undef Py_None
-#define Py_None (&NoObject)
-#undef None
-
-#endif /* 0 */
-
 #include <tcl.h>
 #include <tk.h>