(self, states)
Adds a list of states to the current state.
        Args:
            states (list): List of states to add to the current state.
Adds a list of states to the current state.
        Args:
            states (list): List of states to add to the current state.
Adds a list of states to the current state . Args : states ( list ) : List of states to add to the current state .
def add_substates(self, states):
        """ Adds a list of states to the current state.
        Args:
            states (list): List of states to add to the current state.
        """
        for state in listify(states):
            self.states[state.name] = state
def add_substates ( self , states ) : for state in listify ( states ) : self . states [ state . name ] = state