Skip to content

Commit e543644

Browse files
fix typing
1 parent cf08801 commit e543644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5140,7 +5140,7 @@ def _is_memory_usage_qualified(self) -> bool:
51405140
Return a boolean if we need a qualified .info display.
51415141
"""
51425142
return is_object_dtype(self.dtype) or (
5143-
is_string_dtype(self.dtype) and self.dtype.storage == "python"
5143+
is_string_dtype(self.dtype) and self.dtype.storage == "python" # type: ignore[union-attr]
51445144
)
51455145

51465146
def __contains__(self, key: Any) -> bool:

0 commit comments

Comments
 (0)