docs: def set_functions(self, what, allfuncs):
          """Set the cards in the ``what`` builder to ``allfuncs``
  
          :param what: a string, 'trigger', 'prereq', or 'action'
          :param allfuncs: a sequence of triples of (name, sourcecode, signature) as taken by my
          ``get_function_cards`` method.
  
          """
          setattr(getattr(self, '_{}_builder'.format(what)), 'decks', self.get_functions_cards(what, allfuncs))