summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/initconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c
index b28e0a0..69711d8 100644
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -2593,7 +2593,7 @@ init_dump_ascii_wstr(const wchar_t *str)
if (ch == L'\'') {
PySys_WriteStderr("\\'");
} else if (0x20 <= ch && ch < 0x7f) {
- PySys_WriteStderr("%lc", ch);
+ PySys_WriteStderr("%c", ch);
}
else if (ch <= 0xff) {
PySys_WriteStderr("\\x%02x", ch);