summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index dfc3cf2..17a19db 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -11705,7 +11705,7 @@ do_strip(PyObject *self, int striptype)
i = 0;
if (striptype != RIGHTSTRIP) {
while (i < len) {
- Py_UCS4 ch = data[i];
+ Py_UCS1 ch = data[i];
if (!_Py_ascii_whitespace[ch])
break;
i++;
@@ -11716,7 +11716,7 @@ do_strip(PyObject *self, int striptype)
if (striptype != LEFTSTRIP) {
j--;
while (j >= i) {
- Py_UCS4 ch = data[j];
+ Py_UCS1 ch = data[j];
if (!_Py_ascii_whitespace[ch])
break;
j--;