Skip to content

Commit ce82b42

Browse files
committed
typing issues
1 parent 8583961 commit ce82b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/indexes/numeric.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _can_hold_na(self) -> bool:
106106
else:
107107
return False
108108

109-
_engine_types: dict[np.dtype, libindex.IndexEngine] = {
109+
_engine_types: dict[np.dtype, type[libindex.IndexEngine]] = {
110110
np.dtype(np.int8): libindex.Int8Engine,
111111
np.dtype(np.int16): libindex.Int16Engine,
112112
np.dtype(np.int32): libindex.Int32Engine,
@@ -120,7 +120,7 @@ def _can_hold_na(self) -> bool:
120120
}
121121

122122
@property
123-
def _engine_type(self) -> libindex.IndexEngine:
123+
def _engine_type(self):
124124
return self._engine_types[self.dtype]
125125

126126
@cache_readonly

0 commit comments

Comments
 (0)