Message 124857 - Python tracker (original) (raw)

The HtmlDoc class has methods that take colors. Can this be changed or does it need to be depreciated first?

def heading(self, title, fgcol, bgcol, extras=''):
    """Format a page heading."""
    return '''
 
 
%s
%s
''' % (bgcol, fgcol, title, fgcol, extras or ' ')

For the interactive server, I can override these methods with no problem, but the generated docs won't benefit from this until the HtmlDoc class is replaced. Any suggestions?