summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 9675da5..618587a 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -73,7 +73,7 @@ AsString (value, tmp)
{
PyObject *v;
- v = strobject (value);
+ v = PyObject_Str (value);
PyList_Append (tmp, v);
Py_DECREF (v);
return PyString_AsString (v);