Skip to content

Commit 0baec7c

Browse files
author
fdrake
committed
remove unnecessary override of base class method
git-svn-id: http://svn.python.org/projects/python/trunk@37297 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 2644002 commit 0baec7c

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

Lib/HTMLParser.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -208,19 +208,6 @@ def goahead(self, end):
208208
i = self.updatepos(i, n)
209209
self.rawdata = rawdata[i:]
210210

211-
# Internal -- parse comment, return end or -1 if not terminated
212-
def parse_comment(self, i, report=1):
213-
rawdata = self.rawdata
214-
assert rawdata[i:i+4] == '<!--', 'unexpected call to parse_comment()'
215-
match = commentclose.search(rawdata, i+4)
216-
if not match:
217-
return -1
218-
if report:
219-
j = match.start()
220-
self.handle_comment(rawdata[i+4: j])
221-
j = match.end()
222-
return j
223-
224211
# Internal -- parse processing instr, return end or -1 if not terminated
225212
def parse_pi(self, i):
226213
rawdata = self.rawdata

0 commit comments

Comments
 (0)