Mercurial > cpython-lru_cache-weakref
diff Objects/dictobject.c @ 18019:ca7e2e1ae8df legacy-trunk
Finish the dict->string coredump fix. Need sleep.
Bugfix candidate.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 02 Jun 2001 08:27:39 +0000 |
| parents | facff5f50fcc |
| children | bd1c4fe977cb |
line wrap: on
line diff
--- a/Objects/dictobject.c Sat Jun 02 08:18:58 2001 +0000 +++ b/Objects/dictobject.c Sat Jun 02 08:27:39 2001 +0000 @@ -766,7 +766,7 @@ 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;
