summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-01-25 11:37:39 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-01-25 11:37:39 (GMT)
commite7e9c321959c46f7a5c84c38ae61eda89f616e70 (patch)
tree9d2e5cde109c0023708352df69892753053ddc2d /Modules
parenta3e9128aba49b99451b19b49982b7b48e4f7ffe6 (diff)
downloadcpython-e7e9c321959c46f7a5c84c38ae61eda89f616e70.zip
cpython-e7e9c321959c46f7a5c84c38ae61eda89f616e70.tar.gz
cpython-e7e9c321959c46f7a5c84c38ae61eda89f616e70.tar.bz2
Clean trailing whitespace in itertoolsmodule.c.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/itertoolsmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index 574eb68..52a38a5 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -2667,17 +2667,17 @@ static PyObject *
accumulate_next(accumulateobject *lz)
{
PyObject *val, *oldtotal, *newtotal;
-
+
val = PyIter_Next(lz->it);
if (val == NULL)
return NULL;
-
+
if (lz->total == NULL) {
Py_INCREF(val);
lz->total = val;
return lz->total;
}
-
+
newtotal = PyNumber_Add(lz->total, val);
Py_DECREF(val);
if (newtotal == NULL)
@@ -2686,7 +2686,7 @@ accumulate_next(accumulateobject *lz)
oldtotal = lz->total;
lz->total = newtotal;
Py_DECREF(oldtotal);
-
+
Py_INCREF(newtotal);
return newtotal;
}