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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy