diff options
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c index 45bed39..cb25da2 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -608,12 +608,12 @@ parsestr(s) *p++ = c; break; case 'x': - if (isxdigit(*s)) { + if (isxdigit(Py_CHARMASK(*s))) { sscanf(s, "%x", &c); *p++ = c; do { s++; - } while (isxdigit(*s)); + } while (isxdigit(Py_CHARMASK(*s))); break; } /* FALLTHROUGH */ |