Commit c97e396f authored by Neal Norwitz's avatar Neal Norwitz

Whitespace normalization

parent 26de33fe
......@@ -1492,7 +1492,6 @@ string_split(PyStringObject *self, PyObject *args)
j = i+pos;
SPLIT_ADD(s, i, j);
i = j + n;
}
#else
i = j = 0;
......@@ -2789,7 +2788,6 @@ replace_substring_in_place(PyStringObject *self,
offset = findstring(self_s, self_len,
from_s, from_len,
0, self_len, FORWARD);
if (offset == -1) {
/* No matches; return the original string */
return return_self(self);
......@@ -2838,7 +2836,6 @@ replace_single_character(PyStringObject *self,
self_len = PyString_GET_SIZE(self);
count = countchar(self_s, self_len, from_c, maxcount);
if (count == 0) {
/* no matches, return unchanged */
return return_self(self);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment