summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-06-22 18:46:12 (GMT)
committerGuido van Rossum <guido@python.org>1995-06-22 18:46:12 (GMT)
commit2d95706f689876c930f3fc130df7da273569d52d (patch)
treef9b5a51188ed3f6f772679d7909fac966bab9fc5
parent0daa13b1884cb0744842fc20ca03b43b69c94eba (diff)
downloadcpython-2d95706f689876c930f3fc130df7da273569d52d.zip
cpython-2d95706f689876c930f3fc130df7da273569d52d.tar.gz
cpython-2d95706f689876c930f3fc130df7da273569d52d.tar.bz2
support <HTML>, remove <HEADER>
-rw-r--r--Lib/htmllib.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/htmllib.py b/Lib/htmllib.py
index fe2a0cb..10ca810 100644
--- a/Lib/htmllib.py
+++ b/Lib/htmllib.py
@@ -98,10 +98,9 @@ class CollectingParser(HTMLParser):
self.handle_data('[' + `self.inanchor` + ']')
self.inanchor = 0
#
- def start_header(self, attrs): pass
- def end_header(self): pass
+ def start_html(self, attrs): pass
+ def end_html(self): pass
#
- # (head is the same as header)
def start_head(self, attrs): pass
def end_head(self): pass
#