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 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment