Skip to content

Commit 6d20ea6

Browse files
html5lib: Fix type alias (#11480)
Pretty sure this is what I meant to write in the first place. Fixes #11478
1 parent 60826ed commit 6d20ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/html5lib/html5lib/_inputstream.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class _Encoding(Protocol):
1111

1212
_UnicodeInputStream: TypeAlias = str | SupportsRead[str]
1313
_BinaryInputStream: TypeAlias = bytes | SupportsRead[bytes]
14-
_InputStream: TypeAlias = _UnicodeInputStream # noqa: Y047 # used in other files
14+
_InputStream: TypeAlias = _UnicodeInputStream | _BinaryInputStream # noqa: Y047 # used in other files
1515

1616
spaceCharactersBytes: Any
1717
asciiLettersBytes: Any

0 commit comments

Comments
 (0)