From: Fred Drake Date: Tue, 14 May 2002 15:50:11 +0000 (+0000) Subject: Simplify code to remove an unnecessary test. X-Git-Tag: v2.3c1~5666 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30d59baecd3c01c851ddaf5b206938d663446971;p=thirdparty%2FPython%2Fcpython.git Simplify code to remove an unnecessary test. --- diff --git a/Lib/HTMLParser.py b/Lib/HTMLParser.py index bd6a885fcb2f..908b30ebd03b 100644 --- a/Lib/HTMLParser.py +++ b/Lib/HTMLParser.py @@ -148,8 +148,6 @@ class HTMLParser(markupbase.ParserBase): k = self.parse_starttag(i) elif startswith("= 0: - self.clear_cdata_mode() elif startswith("