diff --git a/pandas/io/common.py b/pandas/io/common.py index c91e698accd7c..ceac59c850e94 100644 --- a/pandas/io/common.py +++ b/pandas/io/common.py @@ -910,7 +910,8 @@ def get_handle( or not hasattr(handle, "seekable") ): handle = _IOWrapper(handle) - # error: Value of type variable "_BufferT_co" of "TextIOWrapper" cannot be "_IOWrapper | BaseBuffer" [type-var] + # error: Value of type variable "_BufferT_co" of + # "TextIOWrapper" cannot be "_IOWrapper | BaseBuffer" [type-var] handle = TextIOWrapper( handle, encoding=ioargs.encoding,