Commit 513d5caf authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Easier debugging with __repr__ function for CTransition objects

parent 63372f7a
......@@ -1930,6 +1930,10 @@ class CTransition(object):
return visitor.visit_ctransition(self)
def __repr__(self):
return "{} -> {}, C:{}, E:{}".format(,,
self.condition, self.event)
# helper function
Markdown is supported
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