Skip to content

Commit d269b5e

Browse files
Clean trailing whitespace in itertoolsmodule.c.
2 parents 339e91d + e7e9c32 commit d269b5e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Modules/itertoolsmodule.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ cycle_reduce(cycleobject *lz)
964964
/* Create a new cycle with the iterator tuple, then set
965965
* the saved state on it.
966966
*/
967-
return Py_BuildValue("O(O)(Oi)", Py_TYPE(lz),
967+
return Py_BuildValue("O(O)(Oi)", Py_TYPE(lz),
968968
lz->it, lz->saved, lz->firstpass);
969969
}
970970

@@ -3154,7 +3154,7 @@ permutations_reduce(permutationsobject *po)
31543154
goto err;
31553155
PyTuple_SET_ITEM(indices, i, index);
31563156
}
3157-
3157+
31583158
cycles = PyTuple_New(po->r);
31593159
if (cycles == NULL)
31603160
goto err;
@@ -3180,7 +3180,7 @@ permutations_setstate(permutationsobject *po, PyObject *state)
31803180
{
31813181
PyObject *indices, *cycles, *result;
31823182
Py_ssize_t n, i;
3183-
3183+
31843184
if (!PyArg_ParseTuple(state, "O!O!",
31853185
&PyTuple_Type, &indices,
31863186
&PyTuple_Type, &cycles))
@@ -3359,18 +3359,18 @@ static PyObject *
33593359
accumulate_next(accumulateobject *lz)
33603360
{
33613361
PyObject *val, *oldtotal, *newtotal;
3362-
3362+
33633363
val = PyIter_Next(lz->it);
33643364
if (val == NULL)
33653365
return NULL;
3366-
3366+
33673367
if (lz->total == NULL) {
33683368
Py_INCREF(val);
33693369
lz->total = val;
33703370
return lz->total;
33713371
}
33723372

3373-
if (lz->binop == NULL)
3373+
if (lz->binop == NULL)
33743374
newtotal = PyNumber_Add(lz->total, val);
33753375
else
33763376
newtotal = PyObject_CallFunctionObjArgs(lz->binop, lz->total, val, NULL);
@@ -3381,7 +3381,7 @@ accumulate_next(accumulateobject *lz)
33813381
oldtotal = lz->total;
33823382
lz->total = newtotal;
33833383
Py_DECREF(oldtotal);
3384-
3384+
33853385
Py_INCREF(newtotal);
33863386
return newtotal;
33873387
}
@@ -4351,7 +4351,7 @@ zip_longest_next(ziplongestobject *lz)
43514351
static PyObject *
43524352
zip_longest_reduce(ziplongestobject *lz)
43534353
{
4354-
4354+
43554355
/* Create a new tuple with empty sequences where appropriate to pickle.
43564356
* Then use setstate to set the fillvalue
43574357
*/

0 commit comments

Comments
 (0)