We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ef6691 commit 2a8019bCopy full SHA for 2a8019b
pandas/io/common.py
@@ -910,10 +910,10 @@ def get_handle(
910
or not hasattr(handle, "seekable")
911
):
912
handle = _IOWrapper(handle)
913
- # error: Value of type variable "_BufferT_co" of
914
- # "TextIOWrapper" cannot be "_IOWrapper | BaseBuffer" [type-var]
+ # error: Value of type variable "_BufferT_co" of "TextIOWrapper" cannot
+ # be "_IOWrapper | BaseBuffer" [type-var]
915
handle = TextIOWrapper(
916
- handle,
+ handle, # type: ignore[type-var]
917
encoding=ioargs.encoding,
918
errors=errors,
919
newline="",
0 commit comments