parameters: (self)
docstring: Print out something useful about the fsm
docstring_summary: Print out something useful about the fsm
docstring_tokens: Print out something useful about the fsm
function: def __str__(self):
          """
          Print out something useful about the fsm
          """
          self.fsmLock.acquire()
          try:
              className = self.__class__.__name__
              if self.state:
                  str = ('%s FSM:%s in state "%s"' % (className, self._name, self.state))
              else:
                  str = ('%s FSM:%s in transition from \'%s\' to \'%s\'' % (className, self._name, self.oldState, self.newState))
              return str
          finally:
              self.fsmLock.release()
function_tokens: def __str__ ( self ) : self . fsmLock . acquire ( ) try : className = self . __class__ . __name__ if self . state : str = ( '%s FSM:%s in state "%s"' % ( className , self . _name , self . state ) ) else : str = ( '%s FSM:%s in transition from \'%s\' to \'%s\'' % ( className , self . _name , self . oldState , self . newState ) ) return str finally : self . fsmLock . release ( )