mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-30 14:45:23 +08:00
@@ -25,10 +25,10 @@ class Input(TransformSpec):
|
||||
component_type: ClassVar[str]
|
||||
default_source_path: ClassVar[str | None]
|
||||
def read(self) -> Any: ...
|
||||
def decode(self, data: str | bytes) -> str: ...
|
||||
def decode(self, data: str | bytes | bytearray) -> str: ...
|
||||
coding_slug: ClassVar[Pattern[bytes]]
|
||||
byte_order_marks: ClassVar[tuple[tuple[bytes, str], ...]]
|
||||
def determine_encoding_from_data(self, data: str | bytes) -> str | None: ...
|
||||
def determine_encoding_from_data(self, data: str | bytes | bytearray) -> str | None: ...
|
||||
def isatty(self) -> bool: ...
|
||||
|
||||
class Output(TransformSpec):
|
||||
|
||||
Reference in New Issue
Block a user