bpo-37752: Delete redundant Py_CHARMASK in normalizestring() (GH-15095)
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 4cf2b07..ed25e0b 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -2300,7 +2300,7 @@
"int() arg 2 must be >= 2 and <= 36");
return NULL;
}
- while (*str != '\0' && Py_ISSPACE(Py_CHARMASK(*str))) {
+ while (*str != '\0' && Py_ISSPACE(*str)) {
str++;
}
if (*str == '+') {
@@ -2609,7 +2609,7 @@
if (sign < 0) {
Py_SIZE(z) = -(Py_SIZE(z));
}
- while (*str && Py_ISSPACE(Py_CHARMASK(*str))) {
+ while (*str && Py_ISSPACE(*str)) {
str++;
}
if (*str != '\0') {