diff --git a/stubs/html5lib/html5lib/_inputstream.pyi b/stubs/html5lib/html5lib/_inputstream.pyi index adf8be11b..bf0479f9a 100644 --- a/stubs/html5lib/html5lib/_inputstream.pyi +++ b/stubs/html5lib/html5lib/_inputstream.pyi @@ -11,7 +11,7 @@ class _Encoding(Protocol): _UnicodeInputStream: TypeAlias = str | SupportsRead[str] _BinaryInputStream: TypeAlias = bytes | SupportsRead[bytes] -_InputStream: TypeAlias = _UnicodeInputStream # noqa: Y047 # used in other files +_InputStream: TypeAlias = _UnicodeInputStream | _BinaryInputStream # noqa: Y047 # used in other files spaceCharactersBytes: Any asciiLettersBytes: Any