diff options
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 8175404..02675f5 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -145,7 +145,7 @@ PyFile_WriteObject(PyObject *v, PyObject *f, int flags) value = _PyObject_Str(v); } else - value = PyObject_ReprStr8(v); + value = PyObject_Repr(v); if (value == NULL) { Py_DECREF(writer); return -1; |