Author: Mark Young <[email protected]>
Branch: 33_fix_itertools
Changeset: r83653:2822467985c4
Date: 2016-04-12 16:56 -0400
http://bitbucket.org/pypy/pypy/changeset/2822467985c4/
Log: Add newlines to match PEP8 and as requested.
diff --git a/pypy/module/itertools/interp_itertools.py
b/pypy/module/itertools/interp_itertools.py
--- a/pypy/module/itertools/interp_itertools.py
+++ b/pypy/module/itertools/interp_itertools.py
@@ -1199,6 +1199,7 @@
space.newtuple([space.newtuple([])])
]
return space.newtuple(result_w)
+
def descr_setstate(self, space, w_state):
gear_count = len(self.gears)
indices_w = space.unpackiterable(w_state)
@@ -1504,6 +1505,7 @@
else:
self.started = True
return w_result
+
def descr_reduce(self, space):
if self.raised_stop_iteration:
pool_w = []
@@ -1525,6 +1527,7 @@
space.wrap(self.started)
])]
return space.newtuple(result_w)
+
def descr_setstate(self, space, w_state):
state = space.unpackiterable(w_state)
if len(state) == 3:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit