diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-24 00:51:01 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-24 00:51:01 (GMT) |
commit | 4cfae027b39d14a5a43f337c1a38b42d7461dd3a (patch) | |
tree | a099cd8fcaabaf4c6cb3aff1e686bcae50f745f6 /Python | |
parent | a620facc1f66654c1b3337ed6d7dfa158cfaf8f2 (diff) | |
download | cpython-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.c | 2 |
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; |