do not need to hash states anymore
This commit is contained in:
parent
9bc01b4b71
commit
2738cc3e0e
|
@ -126,9 +126,6 @@ class _State:
|
||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
return self.name == other
|
return self.name == other
|
||||||
|
|
||||||
def __hash__(self):
|
|
||||||
return hash(self.name)
|
|
||||||
|
|
||||||
class StateMachine:
|
class StateMachine:
|
||||||
'''
|
'''
|
||||||
Manager for states. This is intended to be used as a context manager (eg
|
Manager for states. This is intended to be used as a context manager (eg
|
||||||
|
|
Loading…
Reference in New Issue