mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Remove unused functions from _tkinter.
This commit is contained in:
parent
885dc287d3
commit
09c61bef2d
1 changed files with 0 additions and 21 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue