Skip to content

Commit a1c195d

Browse files
committed
remove added ignore
1 parent b112975 commit a1c195d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pandas/core/dtypes/dtypes.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,10 +1030,7 @@ class PeriodDtype(PeriodDtypeBase, PandasExtensionDtype):
10301030
# "Dict[int, PandasExtensionDtype]", base class "PandasExtensionDtype"
10311031
# defined the type as "Dict[str, PandasExtensionDtype]") [assignment]
10321032
_cache_dtypes: dict[BaseOffset, int] = {} # type: ignore[assignment]
1033-
# error: Incompatible types in assignment (expression has type
1034-
# "Callable[[PeriodDtypeBase], int]", base class "PandasExtensionDtype"
1035-
# defined the type as "Callable[[PandasExtensionDtype], int]")
1036-
__hash__ = PeriodDtypeBase.__hash__ # type: ignore[assignment]
1033+
__hash__ = PeriodDtypeBase.__hash__
10371034
_freq: BaseOffset
10381035
_supports_2d = True
10391036
_can_fast_transpose = True

0 commit comments

Comments
 (0)