8000
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 b9e9540 commit 0f270e6Copy full SHA for 0f270e6
stubs/docutils/docutils/io.pyi
@@ -25,10 +25,10 @@ class Input(TransformSpec):
25
component_type: ClassVar[str]
26
default_source_path: ClassVar[str | None]
27
def read(self) -> Any: ...
28
- def decode(self, data: str | bytes) -> str: ...
+ def decode(self, data: str | bytes | bytearray) -> str: ...
29
coding_slug: ClassVar[Pattern[bytes]]
30
byte_order_marks: ClassVar[tuple[tuple[bytes, str], ...]]
31
- def determine_encoding_from_data(self, data: str | bytes) -> str | None: ...
+ def determine_encoding_from_data(self, data: str | bytes | bytearray) -> str | None: ...
32
def isatty(self) -> bool: ...
33
34
class Output(TransformSpec):
0 commit comments