mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
support <HTML>, remove <HEADER>
This commit is contained in:
parent
0daa13b188
commit
2d95706f68
1 changed files with 2 additions and 3 deletions
|
@ -98,10 +98,9 @@ class CollectingParser(HTMLParser):
|
||||||
self.handle_data('[' + `self.inanchor` + ']')
|
self.handle_data('[' + `self.inanchor` + ']')
|
||||||
self.inanchor = 0
|
self.inanchor = 0
|
||||||
#
|
#
|
||||||
def start_header(self, attrs): pass
|
def start_html(self, attrs): pass
|
||||||
def end_header(self): pass
|
def end_html(self): pass
|
||||||
#
|
#
|
||||||
# (head is the same as header)
|
|
||||||
def start_head(self, attrs): pass
|
def start_head(self, attrs): pass
|
||||||
def end_head(self): pass
|
def end_head(self): pass
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue