diff options
| author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-10-07 10:39:00 (GMT) | 
|---|---|---|
| committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-10-07 10:39:00 (GMT) | 
| commit | 09c61bef2d406bac2ea031a6b50d841ee6cf678b (patch) | |
| tree | 805c0f87ae0ac1fb2fd5861be4d20fac89b511a5 /Modules/_tkinter.c | |
| parent | 885dc287d30f23c17f06f8e56506b0aa8886b419 (diff) | |
| download | cpython-09c61bef2d406bac2ea031a6b50d841ee6cf678b.zip cpython-09c61bef2d406bac2ea031a6b50d841ee6cf678b.tar.gz cpython-09c61bef2d406bac2ea031a6b50d841ee6cf678b.tar.bz2  | |
Remove unused functions from _tkinter.
Diffstat (limited to 'Modules/_tkinter.c')
| -rw-r--r-- | Modules/_tkinter.c | 21 | 
1 files changed, 0 insertions, 21 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index f4c7ad6..edf0ca2 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -2859,27 +2859,6 @@ DisableEventHook(void)  } -/* all errors will be checked in one fell swoop in init_tkinter() */ -static void -ins_long(PyObject *d, char *name, long val) -{ -    PyObject *v = PyLong_FromLong(val); -    if (v) { -        PyDict_SetItemString(d, name, v); -        Py_DECREF(v); -    } -} -static void -ins_string(PyObject *d, char *name, char *val) -{ -    PyObject *v = PyUnicode_FromString(val); -    if (v) { -        PyDict_SetItemString(d, name, v); -        Py_DECREF(v); -    } -} - -  static struct PyModuleDef _tkintermodule = {      PyModuleDef_HEAD_INIT,      "_tkinter",  | 
