'Turns a single triple into a definition.'

@classmethod
def triple_to_def(cls, triple):

    return ('self.gf(%r)(%s)' % (triple[0], ',    '.join((triple[1] + [('%s=%s' % (kwd, val)) for (kwd, val) in triple[2].items()]))))
