We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ef6691 + 2a8019b commit 65dd644Copy full SHA for 65dd644
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