Skip to content

Commit 75dd0a9

Browse files
committed
fix comments part II
1 parent d848ab2 commit 75dd0a9

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,
@@ -279,15 +278,6 @@ def _assert_safe_casting(cls, data, subarr):
279278
"""
280279
pass
281280

282-
@final
283-
@cache_readonly
284-
def _can_hold_na(self) -> bool:
285-
if is_integer_dtype(self.dtype):
286-
return False
287-
else:
288-
return True
289-
290-
@final
291281
@property
292282
def _is_all_dates(self) -> bool:
293283
"""

0 commit comments

Comments
 (0)