Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc879ff

Browse files
committed
Don't allow ParseError/SerializerError tokens, whatever they are!
1 parent5336ebe commitdc879ff

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎html5lib/filters/lint.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ def __iter__(self):
6464
assertnameisNoneorisinstance(name,text_type)
6565
# XXX: what to do with token["data"] ?
6666

67-
eliftypein ("ParseError","SerializeError"):
68-
pass
69-
7067
else:
7168
assertFalse,"Unknown token type: %(type)s"% {"type":type}
7269

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp