Skip to content

Commit 85fb760

Browse files
committed
fix comments part II
1 parent 8dc0c90 commit 85fb760

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pandas/core/indexes/numeric.py

-10
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from pandas._typing import (
1616
Dtype,
1717
DtypeObj,
18-
final,
1918
)
2019
from pandas.util._decorators import (
2120
cache_readonly,
@@ -274,15 +273,6 @@ def _assert_safe_casting(cls, data, subarr):
274273
"""
275274
pass
276275

277-
@final
278-
@cache_readonly
279-
def _can_hold_na(self) -> bool:
280-
if is_integer_dtype(self.dtype):
281-
return False
282-
else:
283-
return True
284-
285-
@final
286276
@property
287277
def _is_all_dates(self) -> bool:
288278
"""

0 commit comments

Comments
 (0)