human
I wrote the below code

    if isinstance(synset, tuple):
        raise NotImplementedError('word    not    supported    by    _collect_one_synset')
    typ = 'S'
    pos_tuple = _pos_match((synset.pos(), None, None))
    assert (pos_tuple is not None), ('pos_tuple    is    null:    synset.pos():    %s' % synset.pos())
    descr = pos_tuple[2]
    ref = copy.deepcopy(Reference(word, synset_relations))
    ref.toggle_synset(synset)
    synset_label = (typ + ';')
    if (synset.name() in synset_relations):
        synset_label = _bold(synset_label)
    s = ('<li>%s    (%s)    ' % (make_lookup_link(ref, synset_label), descr))
    def format_lemma(w):
        w = w.replace('_', '    ')
        if (w.lower() == word):
            return _bold(w)
        else:
            ref = Reference(w)
            return make_lookup_link(ref, w)
    s += ',    '.join((format_lemma(l.name()) for l in synset.lemmas()))
    gl = ('    (%s)    <i>%s</i>    ' % (synset.definition(), '.
   '.join((('"%s"' % e) for e in synset.examples()))))
    return (((s + gl) + _synset_relations(word, synset, synset_relations)) + '</li>\n')

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def _collect_one_synset(word, synset, synset_relations):