Skip to content

Commit 02c491d

Browse files
authored
Added **kwargs to UnicodeInputStream
Fixes crash while using lxml html5parser
1 parent 17499b9 commit 02c491d

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)