Skip to content
Snippets Groups Projects
Commit 7015813a authored by danielgordon10's avatar danielgordon10 Committed by Oleksandr
Browse files

Made SimulatorActions iterable (#151)

* made simulator actions iterable
parent 43ab7241
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,9 @@ class SimulatorActionsSingleton(metaclass=Singleton):
def __len__(self):
return len(self._known_actions)
def __iter__(self):
return iter(self._known_actions)
SimulatorActions = SimulatorActionsSingleton()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment