diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pystrtod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c index 30dd4e5394..9aeef2805f 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -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) |