Mercurial > cpython-lru_cache-weakref
diff Lib/HTMLParser.py @ 44212:c6fb393b6c81
rename markupbase to _markupbase
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 07 Dec 2007 11:10:11 +0000 |
| parents | 825d966338ea |
| children |
line wrap: on
line diff
--- a/Lib/HTMLParser.py Fri Dec 07 08:17:50 2007 +0000 +++ b/Lib/HTMLParser.py Fri Dec 07 11:10:11 2007 +0000 @@ -8,7 +8,7 @@ # and CDATA (character data -- only end tags are special). -import markupbase +import _markupbase import re # Regular expressions used for parsing @@ -64,7 +64,7 @@ return result -class HTMLParser(markupbase.ParserBase): +class HTMLParser(_markupbase.ParserBase): """Find tags and other markup and call handler functions. Usage: @@ -96,7 +96,7 @@ self.rawdata = '' self.lasttag = '???' self.interesting = interesting_normal - markupbase.ParserBase.reset(self) + _markupbase.ParserBase.reset(self) def feed(self, data): """Feed data to the parser.
