We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1979cb5 + 5e2f18b commit 73f0222Copy full SHA for 73f0222
pandas/io/common.py
@@ -910,12 +910,13 @@ def get_handle(
910
or not hasattr(handle, "seekable")
911
):
912
handle = _IOWrapper(handle)
913
+ # error: Value of type variable "_BufferT_co" of "TextIOWrapper" cannot be "_IOWrapper | BaseBuffer" [type-var]
914
handle = TextIOWrapper(
915
handle,
916
encoding=ioargs.encoding,
917
errors=errors,
918
newline="",
- )
919
+ ) # type: ignore[arg-type]
920
handles.append(handle)
921
# only marked as wrapped when the caller provided a handle
922
is_wrapped = not (
0 commit comments