summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/ceval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 91a74e4..94cf17e 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1362,6 +1362,7 @@ eval_frame(PyFrameObject *f)
s[len-1] != ' ')
PyFile_SoftSpace(w, 0);
}
+#ifdef Py_USING_UNICODE
else if (PyUnicode_Check(v)) {
Py_UNICODE *s = PyUnicode_AS_UNICODE(v);
int len = PyUnicode_GET_SIZE(v);
@@ -1370,6 +1371,7 @@ eval_frame(PyFrameObject *f)
s[len-1] != ' ')
PyFile_SoftSpace(w, 0);
}
+#endif
}
Py_DECREF(v);
Py_XDECREF(stream);