@@ -70,7 +70,7 @@ STRINGLIB(split_whitespace)(PyObject* str_obj,
7070 j = i ; i ++ ;
7171 while (i < str_len && !STRINGLIB_ISSPACE (str [i ]))
7272 i ++ ;
73- #ifndef STRINGLIB_MUTABLE
73+ #if ! STRINGLIB_MUTABLE
7474 if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT (str_obj )) {
7575 /* No whitespace in str_obj, so just use it as list[0] */
7676 Py_INCREF (str_obj );
@@ -122,7 +122,7 @@ STRINGLIB(split_char)(PyObject* str_obj,
122122 }
123123 }
124124 }
125- #ifndef STRINGLIB_MUTABLE
125+ #if ! STRINGLIB_MUTABLE
126126 if (count == 0 && STRINGLIB_CHECK_EXACT (str_obj )) {
127127 /* ch not in str_obj, so just use str_obj as list[0] */
128128 Py_INCREF (str_obj );
@@ -170,7 +170,7 @@ STRINGLIB(split)(PyObject* str_obj,
170170 SPLIT_ADD (str , i , j );
171171 i = j + sep_len ;
172172 }
173- #ifndef STRINGLIB_MUTABLE
173+ #if ! STRINGLIB_MUTABLE
174174 if (count == 0 && STRINGLIB_CHECK_EXACT (str_obj )) {
175175 /* No match in str_obj, so just use it as list[0] */
176176 Py_INCREF (str_obj );
@@ -209,7 +209,7 @@ STRINGLIB(rsplit_whitespace)(PyObject* str_obj,
209209 j = i ; i -- ;
210210 while (i >= 0 && !STRINGLIB_ISSPACE (str [i ]))
211211 i -- ;
212- #ifndef STRINGLIB_MUTABLE
212+ #if ! STRINGLIB_MUTABLE
213213 if (j == str_len - 1 && i < 0 && STRINGLIB_CHECK_EXACT (str_obj )) {
214214 /* No whitespace in str_obj, so just use it as list[0] */
215215 Py_INCREF (str_obj );
@@ -262,7 +262,7 @@ STRINGLIB(rsplit_char)(PyObject* str_obj,
262262 }
263263 }
264264 }
265- #ifndef STRINGLIB_MUTABLE
265+ #if ! STRINGLIB_MUTABLE
266266 if (count == 0 && STRINGLIB_CHECK_EXACT (str_obj )) {
267267 /* ch not in str_obj, so just use str_obj as list[0] */
268268 Py_INCREF (str_obj );
@@ -311,7 +311,7 @@ STRINGLIB(rsplit)(PyObject* str_obj,
311311 SPLIT_ADD (str , pos + sep_len , j );
312312 j = pos ;
313313 }
314- #ifndef STRINGLIB_MUTABLE
314+ #if ! STRINGLIB_MUTABLE
315315 if (count == 0 && STRINGLIB_CHECK_EXACT (str_obj )) {
316316 /* No match in str_obj, so just use it as list[0] */
317317 Py_INCREF (str_obj );
@@ -370,7 +370,7 @@ STRINGLIB(splitlines)(PyObject* str_obj,
370370 if (keepends )
371371 eol = i ;
372372 }
373- #ifndef STRINGLIB_MUTABLE
373+ #if ! STRINGLIB_MUTABLE
374374 if (j == 0 && eol == str_len && STRINGLIB_CHECK_EXACT (str_obj )) {
375375 /* No linebreak in str_obj, so just use it as list[0] */
376376 if (PyList_Append (list , str_obj ))
0 commit comments