summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/_dummy_tkinter.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-11-19 14:34:18 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-11-19 14:34:18 (GMT)
commit28ecf70db57828db2ca279643bf9aeca7662f35c (patch)
tree09b7767bbc411f85313b58d6fe7e5e67d9392973 /Mac/Modules/_dummy_tkinter.c
parent6045b9c93511c767f6cfa2d2fa299c76181acd9b (diff)
downloadcpython-28ecf70db57828db2ca279643bf9aeca7662f35c.zip
cpython-28ecf70db57828db2ca279643bf9aeca7662f35c.tar.gz
cpython-28ecf70db57828db2ca279643bf9aeca7662f35c.tar.bz2
Getting rid of support for MacOS9 and earlier. This is the first step,
and the biggest in size, but probably the easiest. Hunting through the source code comes next.
Diffstat (limited to 'Mac/Modules/_dummy_tkinter.c')
-rw-r--r--Mac/Modules/_dummy_tkinter.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/Mac/Modules/_dummy_tkinter.c b/Mac/Modules/_dummy_tkinter.c
deleted file mode 100644
index 6faab91..0000000
--- a/Mac/Modules/_dummy_tkinter.c
+++ /dev/null
@@ -1,28 +0,0 @@
-
-/* Dummy _tkinter module for use with Carbon. Gives (slightly) better error
- * message when you try to use Tkinter.
- */
-
-/* Xxo objects */
-
-#include "Python.h"
-
-
-/* List of functions defined in the module */
-
-static PyMethodDef xx_methods[] = {
- {NULL, NULL} /* sentinel */
-};
-
-
-
-DL_EXPORT(void)
-init_tkinter(void)
-{
- PyObject *m;
-
- /* Create the module and add the functions */
- m = Py_InitModule("_tkinter", xx_methods);
-
- PyErr_SetString(PyExc_ImportError, "Tkinter not supported under Carbon (yet).");
-}