• Fred Drake's avatar
    [Synchonizing the HTMLParser module with the Python standard library; · f1066e74
    Fred Drake authored
     the HTMLParser module is now dependent on this module.]
    
    New base class for the SGMLParser and HTMLParser classes from the sgmllib
    and HTMLParser modules (and indirectly for the htmllib.HTMLParser class).
    
    This has all the support for scanning over DOCTYPE declarations; it warrants
    having a base class since this is a fair amount of tedious code (since it's
    fairly strict), and should be in a separate module to avoid compiling many
    REs that are not used (which would happen if this were placed in either then
    sgmllib or HTMLParser module).
    f1066e74
markupbase.py 10.4 KB