]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
support <HTML>, remove <HEADER>
authorGuido van Rossum <guido@python.org>
Thu, 22 Jun 1995 18:46:12 +0000 (18:46 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 22 Jun 1995 18:46:12 +0000 (18:46 +0000)
Lib/htmllib.py

index fe2a0cbc29800da6d52d6777a5dbd40dbd8c7af1..10ca81063c7caa49776cfb6547f0c477799f105b 100644 (file)
@@ -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
        #