human
Complete this python program:
def _toCSSname(DOMname):
assistant
#Here is the Python code you requested.

    """Return CSSname for given DOMname e.g. for DOMname \fontStyle\ returns
    \font-style\.
    """
    def _doDOMtoCSSname2(m):
        return ('-' + m.group(0).lower())
    return _reDOMtoCSSname.sub(_doDOMtoCSSname2, DOMname)