Skip to content

Commit 460e60a

Browse files
add type ignore
1 parent e0878ce commit 460e60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/construction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ def sanitize_array(
613613

614614
if (
615615
subarr is data
616-
or (subarr.dtype == "str" and subarr.dtype.storage == "python")
616+
or (subarr.dtype == "str" and subarr.dtype.storage == "python") # type: ignore[union-attr]
617617
) and copy:
618618
subarr = subarr.copy()
619619

0 commit comments

Comments
 (0)