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.
IO
1 parent 86e7416 commit 7f38b11Copy full SHA for 7f38b11
stdlib/typing.pyi
@@ -800,18 +800,12 @@ class IO(Iterator[AnyStr]):
800
def writable(self) -> bool: ...
801
@abstractmethod
802
@overload
803
- def write(self: IO[str], s: str, /) -> int: ...
804
- @abstractmethod
805
- @overload
806
def write(self: IO[bytes], s: ReadableBuffer, /) -> int: ...
807
808
809
def write(self, s: AnyStr, /) -> int: ...
810
811
812
- def writelines(self: IO[str], lines: Iterable[str], /) -> None: ...
813
814
815
def writelines(self: IO[bytes], lines: Iterable[ReadableBuffer], /) -> None: ...
816
817
0 commit comments