Kaydet (Commit) 09c61bef authored tarafından Andrew Svetlov's avatar Andrew Svetlov

Remove unused functions from _tkinter.

üst 885dc287
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment