summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index ae5856a..c46e9f4 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -793,7 +793,7 @@ initstdio(void)
}
else {
if (!(std = PyFile_FromFd(fd, "<stderr>", "w", -1, encoding,
- errors, "\n", 0))) {
+ "backslashreplace", "\n", 0))) {
goto error;
}
} /* if (fd < 0) */