diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-24 00:27:04 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-24 00:27:04 (GMT) |
commit | cf9d3c08c85e659a322d24467fc972959e326c9a (patch) | |
tree | e1faa4c123870921ec03fcbe14811f449c143845 /Python | |
parent | 216a3bc36d31df71544fd9a11b98fca4efeb8182 (diff) | |
download | cpython-cf9d3c08c85e659a322d24467fc972959e326c9a.zip cpython-cf9d3c08c85e659a322d24467fc972959e326c9a.tar.gz cpython-cf9d3c08c85e659a322d24467fc972959e326c9a.tar.bz2 |
Issue #1813: Fix codec lookup 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 45d9929..1a3e457 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -69,7 +69,7 @@ PyObject *normalizestring(const char *string) if (ch == ' ') ch = '-'; else - ch = tolower(Py_CHARMASK(ch)); + ch = Py_TOLOWER(Py_CHARMASK(ch)); p[i] = ch; } p[i] = '\0'; |