We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60826ed commit 6d20ea6Copy full SHA for 6d20ea6
stubs/html5lib/html5lib/_inputstream.pyi
@@ -11,7 +11,7 @@ class _Encoding(Protocol):
11
12
_UnicodeInputStream: TypeAlias = str | SupportsRead[str]
13
_BinaryInputStream: TypeAlias = bytes | SupportsRead[bytes]
14
-_InputStream: TypeAlias = _UnicodeInputStream # noqa: Y047 # used in other files
+_InputStream: TypeAlias = _UnicodeInputStream | _BinaryInputStream # noqa: Y047 # used in other files
15
16
spaceCharactersBytes: Any
17
asciiLettersBytes: Any
0 commit comments