make it possible to treat blurp variables as iterables (#6362)

This commit is contained in:
Frédéric Péters 2015-01-27 22:56:14 +01:00
parent a30c517956
commit 3c7714a3d4
1 changed files with 2 additions and 0 deletions

View File

@ -354,3 +354,5 @@ class Data(object):
def __call__(self):
return self.get_content()
def __iter__(self):
return iter(self())