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

Commit02c491d

Browse files
authored
Added **kwargs to UnicodeInputStream
Fixes crash while using lxml html5parser
1 parent17499b9 commit02c491d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎html5lib/_inputstream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class HTMLUnicodeInputStream(object):
161161

162162
_defaultChunkSize=10240
163163

164-
def__init__(self,source):
164+
def__init__(self,source,**kwargs):
165165
"""Initialises the HTMLInputStream.
166166
167167
HTMLInputStream(source, [encoding]) -> Normalized stream from source

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp