class_docstr: This is a Finite State Machine (FSM).
      
docstr: This adds a transition that associates:
  
          (current_state) --> (action, next_state)
  
  That is, any input symbol will match the current state.
  The process() method checks the "any" state associations after it first
  checks for an exact match of (input_symbol, current_state).
  
  The action may be set to None in which case the process() method will
  ignore the action and only set the next_state. The next_state may be
  set to None in which case the current state will be unchanged. 
docstr_tok: ["This","adds","a","transition","that","associates",":","(","current_state",")","--",">","(","action",",","next_state",")","That","is",",","any","input","symbol","will","match","the","current","state",".","The","process","(",")","method","checks","the","``","any","''","state","associations","after","it","first","checks","for","an","exact","match","of","(","input_symbol",",","current_state",")",".","The","action","may","be","set","to","None","in","which","case","the","process","(",")","method","will","ignore","the","action","and","only","set","the","next_state",".","The","next_state","may","be","set","to","None","in","which","case","the","current","state","will","be","unchanged","."]
code: def add_transition_any(self, state, action=None, next_state=None):
      """This adds a transition that associates:
  
              (current_state) --> (action, next_state)
  
      That is, any input symbol will match the current state.
      The process() method checks the "any" state associations after it first
      checks for an exact match of (input_symbol, current_state).
  
      The action may be set to None in which case the process() method will
      ignore the action and only set the next_state. The next_state may be
      set to None in which case the current state will be unchanged."""
  
      if next_state is None:
          next_state = state
      self.state_transitions_any[state] = (action, next_state)
  
imports: import sys
  import string
label_desc: Use image node_id 5 for calling the FSM obj's underlying member method code with example usage: obj.add_transition_any(state, action, next_state) without return types