summaryrefslogtreecommitdiff
path: root/Modules/python.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/python.c')
-rw-r--r--Modules/python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/python.c b/Modules/python.c
index 4c0a55bb1f..13c6d5b82a 100644
--- a/Modules/python.c
+++ b/Modules/python.c
@@ -42,7 +42,7 @@ char2wchar(char* arg)
return res;
PyMem_Free(res);
}
- /* Conversion failed. Fall back to escaping with utf8b. */
+ /* Conversion failed. Fall back to escaping with surrogateescape. */
#ifdef HAVE_MBRTOWC
/* Try conversion with mbrtwoc (C99), and escape non-decodable bytes. */