summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 1a1ed52..3289aba 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -188,8 +188,8 @@ PyObject_Print(op, fp, flags)
ret = -1;
}
else {
- fprintf(fp, "%s",
- PyString_AsString(s));
+ ret = PyObject_Print(s, fp,
+ Py_PRINT_RAW);
}
Py_XDECREF(s);
}