bpo-37752: Delete redundant Py_CHARMASK in normalizestring() (GH-15095)
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index 7ab5814..19fa57a 100644 --- a/Python/mystrtoul.c +++ b/Python/mystrtoul.c
@@ -99,7 +99,7 @@ int ovlimit; /* required digits to overflow */ /* skip leading white space */ - while (*str && Py_ISSPACE(Py_CHARMASK(*str))) + while (*str && Py_ISSPACE(*str)) ++str; /* check for leading 0b, 0o or 0x for auto-base or base 16 */ @@ -138,7 +138,7 @@ /* skip all zeroes... */ while (*str == '0') ++str; - while (Py_ISSPACE(Py_CHARMASK(*str))) + while (Py_ISSPACE(*str)) ++str; if (ptr) *ptr = (char *)str; @@ -266,7 +266,7 @@ unsigned long uresult; char sign; - while (*str && Py_ISSPACE(Py_CHARMASK(*str))) + while (*str && Py_ISSPACE(*str)) str++; sign = *str;