summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-07-24 00:51:01 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-07-24 00:51:01 (GMT)
commit4cfae027b39d14a5a43f337c1a38b42d7461dd3a (patch)
treea099cd8fcaabaf4c6cb3aff1e686bcae50f745f6 /Python
parenta620facc1f66654c1b3337ed6d7dfa158cfaf8f2 (diff)
downloadcpython-4cfae027b39d14a5a43f337c1a38b42d7461dd3a.zip
cpython-4cfae027b39d14a5a43f337c1a38b42d7461dd3a.tar.gz
cpython-4cfae027b39d14a5a43f337c1a38b42d7461dd3a.tar.bz2
Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales.
Diffstat (limited to 'Python')
-rw-r--r--Python/codecs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/codecs.c b/Python/codecs.c
index 57bd0f4..7334eb3 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -70,7 +70,7 @@ PyObject *normalizestring(const char *string)
if (ch == ' ')
ch = '-';
else
- ch = tolower(Py_CHARMASK(ch));
+ ch = Py_TOLOWER(Py_CHARMASK(ch));
p[i] = ch;
}
return v;