summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/22_all_turkish_locale.patch')
-rw-r--r--patches/22_all_turkish_locale.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/patches/22_all_turkish_locale.patch b/patches/22_all_turkish_locale.patch
index b41c4c9..9100a75 100644
--- a/patches/22_all_turkish_locale.patch
+++ b/patches/22_all_turkish_locale.patch
@@ -1,6 +1,6 @@
--- Objects/stringobject.c
+++ Objects/stringobject.c
-@@ -1975,10 +1975,14 @@
+@@ -1981,10 +1981,14 @@
\n\
Return a copy of the string S converted to lowercase.");
@@ -19,7 +19,7 @@
static PyObject *
string_lower(PyStringObject *self)
-@@ -1998,7 +2002,7 @@
+@@ -2004,7 +2008,7 @@
for (i = 0; i < n; i++) {
int c = Py_CHARMASK(s[i]);
if (isupper(c))
@@ -28,7 +28,7 @@
}
return newobj;
-@@ -2009,9 +2013,14 @@
+@@ -2015,9 +2019,14 @@
\n\
Return a copy of the string S converted to uppercase.");
@@ -46,7 +46,7 @@
static PyObject *
string_upper(PyStringObject *self)
-@@ -2031,7 +2040,7 @@
+@@ -2037,7 +2046,7 @@
for (i = 0; i < n; i++) {
int c = Py_CHARMASK(s[i]);
if (islower(c))
@@ -55,7 +55,7 @@
}
return newobj;
-@@ -2059,11 +2068,11 @@
+@@ -2065,11 +2074,11 @@
int c = Py_CHARMASK(*s++);
if (islower(c)) {
if (!previous_is_cased)
@@ -69,7 +69,7 @@
previous_is_cased = 1;
} else
previous_is_cased = 0;
-@@ -2092,7 +2101,7 @@
+@@ -2098,7 +2107,7 @@
if (0 < n) {
int c = Py_CHARMASK(*s++);
if (islower(c))
@@ -78,7 +78,7 @@
else
*s_new = c;
s_new++;
-@@ -2100,7 +2109,7 @@
+@@ -2106,7 +2115,7 @@
for (i = 1; i < n; i++) {
int c = Py_CHARMASK(*s++);
if (isupper(c))
@@ -87,7 +87,7 @@
else
*s_new = c;
s_new++;
-@@ -2171,10 +2180,10 @@
+@@ -2177,10 +2186,10 @@
for (i = 0; i < n; i++) {
int c = Py_CHARMASK(*s++);
if (islower(c)) {