diff options
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index c30245d..a2ddf3e 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -5725,7 +5725,7 @@ PyUnicode_DecodeUnicodeEscape(const char *s, } else { WRITECHAR('\\'); - WRITECHAR(s[-1]); + WRITECHAR((unsigned char)s[-1]); } break; } |