Skip to content

Commit fe9730d

Browse files
Apply suggestions from code review
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
1 parent c87cb49 commit fe9730d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/html/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@ def goahead(self, end):
204204
if k < 0:
205205
if not end:
206206
break
207-
if starttagopen.match(rawdata, i): # < + letter
207+
if starttagopen.match(rawdata, i): # < + letter
208208
pass
209209
elif startswith("</", i):
210210
if i + 2 == n:
211211
self.handle_data("</")
212-
elif endtagopen.match(rawdata, i): # </ + letter
212+
elif endtagopen.match(rawdata, i): # </ + letter
213213
pass
214214
else:
215215
# bogus comment

0 commit comments

Comments
 (0)