mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Eliminate some locale-dependent calls to isspace and tolower.
This commit is contained in:
parent
85e269b37d
commit
777e4ff503
3 changed files with 11 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue