Skip to content

Commit 260a703

Browse files
authored
TYP: fix mypy failures on main in pandas/core/generic.py (#57522)
* fix mypy failures in pandas/core/generic.py * move back my changes in line 7454, 7471
1 parent 2d86f34 commit 260a703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6460,7 +6460,7 @@ def copy(self, deep: bool | None = True) -> Self:
64606460
1 [3, 4]
64616461
dtype: object
64626462
"""
6463-
data = self._mgr.copy(deep=deep)
6463+
data = self._mgr.copy(deep=deep) # type: ignore[arg-type]
64646464
return self._constructor_from_mgr(data, axes=data.axes).__finalize__(
64656465
self, method="copy"
64666466
)

0 commit comments

Comments
 (0)