returns the size of the chain or iter on append

This commit is contained in:
Ilan Steemers
2015-10-18 15:57:23 +02:00
parent eb72eb33d9
commit 7eefb8cb64
+2
View File
@@ -449,6 +449,7 @@ class Iter(object):
self.args.append(args)
if self.started:
self.started = False
return self.length()
def run(self):
"""
@@ -511,6 +512,7 @@ class Chain(object):
if self.started:
delete_group(self.group)
self.started = False
return self.length()
def run(self):
"""