formatting

This commit is contained in:
Dave Schuyler 2001-08-23 22:54:08 +00:00
parent 09927745d9
commit a3af5d8c6a

View File

@ -64,7 +64,9 @@ class FSM(DirectObject):
# Jesse decided that simpler was better with the __str__ function # Jesse decided that simpler was better with the __str__ function
def __str_not__(self): def __str_not__(self):
"""__str__(self)""" """__str__(self)"""
return "FSM: name = %s \n states = %s \n initial = %s \n final = %s \n current = %s" % (self.__name, self.__states, self.__initialState, self.__finalState, self.__currentState) return "FSM: name = %s \n states = %s \n initial = %s \n final = %s \n current = %s" \
% (self.__name, self.__states, self.__initialState,
self.__finalState, self.__currentState)
# setters and getters # setters and getters