allowed iteration over BSVar

This commit is contained in:
2021-09-08 13:53:39 +02:00
parent ab24e53b44
commit 583f618016

View File

@@ -14,4 +14,12 @@ class BSVar:
return f"{self.name} = {self.value}"
def __iter__(self):
return self
def __next__(self):
next(self.cache)
return self.get()