summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-10-23 14:34:14 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-10-23 14:34:14 (GMT)
commitba0311ecff83c6672938bb82aa7b01961371c913 (patch)
tree075e45215c15b92c7f62914f032aa0f7c95deceb /Modules/_tkinter.c
parent97157798102644c80ecd5a7103de3f68611bf964 (diff)
downloadcpython-ba0311ecff83c6672938bb82aa7b01961371c913.zip
cpython-ba0311ecff83c6672938bb82aa7b01961371c913.tar.gz
cpython-ba0311ecff83c6672938bb82aa7b01961371c913.tar.bz2
Renamed module tkinter to _tkinter, moved source to _tkinter.c
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index c1fa4a5..2e0a063 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -1,4 +1,4 @@
-/* tkintermodule.c -- Interface to libtk.a and libtcl.a.
+/* _tkinter.c -- Interface to libtk.a and libtcl.a.
Copyright (C) 1994 Steen Lumholt */
#include "Python.h"
@@ -11,7 +11,7 @@
#define WITH_APPINIT
#endif
-#define PyInit_tkinter inittkinter
+#define PyInit__tkinter init_tkinter
#include <tcl.h>
#include <tk.h>
@@ -1219,7 +1219,7 @@ Tkinter_Cleanup ()
}
void
-PyInit_tkinter ()
+PyInit__tkinter ()
{
static inited = 0;
@@ -1228,7 +1228,7 @@ PyInit_tkinter ()
#endif /* WITH_READLINE */
PyObject *m, *d, *v;
- m = Py_InitModule ("tkinter", moduleMethods);
+ m = Py_InitModule ("_tkinter", moduleMethods);
d = PyModule_GetDict (m);
Tkinter_TclError = Py_BuildValue ("s", "TclError");
@@ -1270,7 +1270,7 @@ PyInit_tkinter ()
}
if (PyErr_Occurred ())
- Py_FatalError ("can't initialize module tkinter");
+ Py_FatalError ("can't initialize module _tkinter");
}
#ifdef macintosh