mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
html5lib: Fix type alias (#11480)
Pretty sure this is what I meant to write in the first place. Fixes #11478
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user