Skip to content
Snippets Groups Projects
Commit 31bbb00f authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Make AssignmentCollection iteratable

parent 15b45891
No related branches found
No related tags found
No related merge requests found
...@@ -332,6 +332,9 @@ class AssignmentCollection: ...@@ -332,6 +332,9 @@ class AssignmentCollection:
result += "\t{eq}\n".format(eq=eq) result += "\t{eq}\n".format(eq=eq)
return result return result
def __iter__(self):
return self.main_assignments.__iter__()
class SymbolGen: class SymbolGen:
"""Default symbol generator producing number symbols ζ_0, ζ_1, ...""" """Default symbol generator producing number symbols ζ_0, ζ_1, ..."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment