diff --git a/stdlib/3/io.pyi b/stdlib/3/io.pyi index d3cc6948b499..b6da189e87d0 100644 --- a/stdlib/3/io.pyi +++ b/stdlib/3/io.pyi @@ -146,8 +146,7 @@ class TextIOBase(IOBase): def seek(self, offset: int, whence: int = ...) -> int: ... def tell(self) -> int: ... -# TODO should extend from TextIOBase -class TextIOWrapper(TextIO): +class TextIOWrapper(TextIOBase): line_buffering: bool # TODO uncomment after fixing mypy about using write_through # def __init__(self, buffer: IO[bytes], encoding: str = ...,