summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/_tkinter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 70cd670..03f1453 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -2403,7 +2403,7 @@ Tktt_Repr(PyObject *self)
}
static PyObject *
-Tktt_GetAttr(PyObject *self, const char *name)
+Tktt_GetAttr(PyObject *self, char *name)
{
return Py_FindMethod(Tktt_methods, self, name);
}
@@ -2734,7 +2734,7 @@ Tkapp_Dealloc(PyObject *self)
}
static PyObject *
-Tkapp_GetAttr(PyObject *self, const char *name)
+Tkapp_GetAttr(PyObject *self, char *name)
{
return Py_FindMethod(Tkapp_methods, self, name);
}