class_docstr: This is a Finite State Machine (FSM).
      
docstr: This sets the default transition. This defines an action and
  next_state if the FSM cannot find the input symbol and the current
  state in the transition list and if the FSM cannot find the
  current_state in the transition_any list. This is useful as a final
  fall-through state for catching errors and undefined states.
  
  The default transition can be removed by setting the attribute
  default_transition to None. 
docstr_tok: ["This","sets","the","default","transition",".","This","defines","an","action","and","next_state","if","the","FSM","can","not","find","the","input","symbol","and","the","current","state","in","the","transition","list","and","if","the","FSM","can","not","find","the","current_state","in","the","transition_any","list",".","This","is","useful","as","a","final","fall-through","state","for","catching","errors","and","undefined","states",".","The","default","transition","can","be","removed","by","setting","the","attribute","default_transition","to","None","."]
code: def set_default_transition(self, action, next_state):
      """This sets the default transition. This defines an action and
      next_state if the FSM cannot find the input symbol and the current
      state in the transition list and if the FSM cannot find the
      current_state in the transition_any list. This is useful as a final
      fall-through state for catching errors and undefined states.
  
      The default transition can be removed by setting the attribute
      default_transition to None."""
  
      self.default_transition = (action, next_state)
  
imports: import sys
  import string
label_desc: Use image node_id 6 for calling the FSM obj's underlying member method code with example usage: obj.set_default_transition(action, next_state) without return types