human
I wrote the below code

    def _doDOMtoCSSname2(m):
        return ('-' + m.group(0).lower())
    return _reDOMtoCSSname.sub(_doDOMtoCSSname2, DOMname)

What's a good function header?

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

def _toCSSname(DOMname):