We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb4ee8d commit 5ac0e11Copy full SHA for 5ac0e11
graalpython/lib-graalpython/itertools.py
@@ -469,7 +469,7 @@ def __next__(self):
469
if self.func is None:
470
self.total += value
471
else:
472
- self.total = self.func(total, value)
+ self.total = self.func(self.total, value)
473
return self.total
474
475
@@ -888,7 +888,7 @@ def __next__(self):
888
# raise this. The shortest one stops first.
889
while True:
890
next_item = next(self.data)
891
- next_selector = next(selectors)
+ next_selector = next(self.selectors)
892
if next_selector:
893
return next_item
894
0 commit comments