From 777e4ff5039d1ac5aba9bb16b6edcb00d4d7c151 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sun, 3 May 2009 20:59:48 +0000 Subject: Eliminate some locale-dependent calls to isspace and tolower. --- Python/pystrtod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pystrtod.c') 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) -- cgit v1.2.1