Skip to content

Commit 7a372ec

Browse files
committed
Change misc to arg-type
1 parent 005b1ab commit 7a372ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ def prep_table(
19011901
# Type[str], Type[float], Type[int], Type[complex], Type[bool],
19021902
# Type[object]]]]"; expected type "Union[ExtensionDtype, str,
19031903
# dtype[Any], Type[object]]"
1904-
dtype = dict.fromkeys(frame, dtype) # type: ignore[misc]
1904+
dtype = dict.fromkeys(frame, dtype) # type: ignore[arg-type]
19051905
else:
19061906
dtype = cast(dict, dtype)
19071907

@@ -2859,7 +2859,7 @@ def to_sql(
28592859
# Type[str], Type[float], Type[int], Type[complex], Type[bool],
28602860
# Type[object]]]]"; expected type "Union[ExtensionDtype, str,
28612861
# dtype[Any], Type[object]]"
2862-
dtype = dict.fromkeys(frame, dtype) # type: ignore[misc]
2862+
dtype = dict.fromkeys(frame, dtype) # type: ignore[arg-type]
28632863
else:
28642864
dtype = cast(dict, dtype)
28652865

0 commit comments

Comments
 (0)