From 19b77cfc4b406e0a55fa3fbe9c3ea784d00ff3bd Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 2 Jun 2001 08:27:39 +0000 Subject: Finish the dict->string coredump fix. Need sleep. Bugfix candidate. --- Objects/dictobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 8b58166..0797e4b 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -766,7 +766,7 @@ dict_print(register dictobject *mp, register FILE *fp, register int flags) return -1; } fprintf(fp, ": "); - if (PyObject_Print(ep->me_value, fp, 0) != 0) { + if (PyObject_Print(pvalue, fp, 0) != 0) { Py_DECREF(pvalue); Py_ReprLeave((PyObject*)mp); return -1; -- cgit v0.12