diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-05-03 20:59:48 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-05-03 20:59:48 (GMT) |
commit | 777e4ff5039d1ac5aba9bb16b6edcb00d4d7c151 (patch) | |
tree | 61cf06f9a617acf6357dd1dbe74ba8970bbf9e36 /Python | |
parent | 85e269b37d6b6599fd143c72395f5e6d58f15088 (diff) | |
download | cpython-777e4ff5039d1ac5aba9bb16b6edcb00d4d7c151.zip cpython-777e4ff5039d1ac5aba9bb16b6edcb00d4d7c151.tar.gz cpython-777e4ff5039d1ac5aba9bb16b6edcb00d4d7c151.tar.bz2 |
Eliminate some locale-dependent calls to isspace and tolower.
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 30dd4e5..9aeef28 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) |