mirror of
https://github.com/python/cpython.git
synced 2026-05-19 02:44:16 -04:00
Eliminate some locale-dependent calls to isspace and tolower.
This commit is contained in:
+1
-1
@@ -718,7 +718,7 @@ _PyOS_double_to_string(char *buf, size_t buf_len, double val,
|
||||
/* Convert to upper case. */
|
||||
char *p;
|
||||
for (p = buf; *p; p++)
|
||||
*p = toupper(*p);
|
||||
*p = Py_TOUPPER(*p);
|
||||
}
|
||||
|
||||
if (ptype)
|
||||
|
||||
Reference in New Issue
Block a user