Commit a7781d98 authored by Barry Warsaw's avatar Barry Warsaw

Un-Python-2.0-ification; can't use augmented assignments :(

parent 26e802fc
......@@ -108,7 +108,7 @@ class Gen:
try:
return self[self.__counter]
finally:
self.__counter += 1
self.__counter = self.__counter + 1
def __getitem__(self, i):
if 0 <= i < 10:
......
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