diff --git a/Lib/html/parser.py b/Lib/html/parser.py index 1e30956fe24f83..4596c4978d7a07 100644 --- a/Lib/html/parser.py +++ b/Lib/html/parser.py @@ -244,9 +244,6 @@ def goahead(self, end): if match: # match.group() will contain at least 2 chars if end and match.group() == rawdata[i:]: - k = match.end() - if k <= i: - k = n i = self.updatepos(i, i + 1) # incomplete break