From 6c7ddedd342553b53dd98c8de9cbe9e8e2e8cd7c Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Sun, 27 Nov 2022 13:09:46 -0500 Subject: Post editing --- stator/graph.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stator/graph.py') diff --git a/stator/graph.py b/stator/graph.py index 436638b..424ea49 100644 --- a/stator/graph.py +++ b/stator/graph.py @@ -104,6 +104,9 @@ class State: def __repr__(self): return f"" + def __str__(self): + return self.name + def __eq__(self, other): if isinstance(other, State): return self is other -- cgit v1.2.3