]> granicus.if.org Git - python/commit
New base class for the SGMLParser and HTMLParser classes from the sgmllib
authorFred Drake <fdrake@acm.org>
Mon, 24 Sep 2001 20:01:28 +0000 (20:01 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 24 Sep 2001 20:01:28 +0000 (20:01 +0000)
commit68f8a8061d4f217ec97d8dc19925ba3b57621be1
tree387950a1d4906dcbb244a01da8650aa70aa7b176
parent1ee642211112c637e2b125dcc04b24f64984d749
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).
Lib/markupbase.py [new file with mode: 0644]