(self, transitions)
Add several transitions.

        Args:
            transitions (list): A list of transitions.
Add several transitions.
Add several transitions .
def add_transitions(self, transitions):
        """ Add several transitions.

        Args:
            transitions (list): A list of transitions.

        """
        for trans in listify(transitions):
            if isinstance(trans, list):
                self.add_transition(*trans)
            else:
                self.add_transition(**trans)
def add_transitions ( self , transitions ) : for trans in listify ( transitions ) : if isinstance ( trans , list ) : self . add_transition ( * trans ) else : self . add_transition ( * * trans )