@@ -128,7 +128,7 @@ class TextIOBase(IOBase):
128
128
def __next__ (self ) -> str : ... # type: ignore
129
129
def detach (self ) -> BinaryIO : ...
130
130
def write (self , __s : str ) -> int : ...
131
- def writelines (self , __lines : List [str ]) -> None : ... # type: ignore
131
+ def writelines (self , __lines : Iterable [str ]) -> None : ... # type: ignore
132
132
def readline (self , __size : int = ...) -> str : ... # type: ignore
133
133
def readlines (self , __hint : int = ...) -> List [str ]: ... # type: ignore
134
134
def read (self , __size : Optional [int ] = ...) -> str : ...
@@ -166,7 +166,7 @@ class TextIOWrapper(TextIOBase, TextIO):
166
166
def __enter__ (self : _T ) -> _T : ...
167
167
def __iter__ (self ) -> Iterator [str ]: ... # type: ignore
168
168
def __next__ (self ) -> str : ... # type: ignore
169
- def writelines (self , __lines : List [str ]) -> None : ... # type: ignore
169
+ def writelines (self , __lines : Iterable [str ]) -> None : ... # type: ignore
170
170
def readline (self , __size : int = ...) -> str : ... # type: ignore
171
171
def readlines (self , __hint : int = ...) -> List [str ]: ... # type: ignore
172
172
def seek (self , __cookie : int , __whence : int = ...) -> int : ...
0 commit comments