Skip to content
Prev Previous commit
Next Next commit
mypy fixup
  • Loading branch information
jbrockmendel committed Sep 28, 2020
commit 26ac0ec6e4e726c40c4fd9bae696e786d7f5413c
4 changes: 3 additions & 1 deletion pandas/core/indexes/datetimelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ class DatetimeIndexOpsMixin(ExtensionIndex):
)
_hasnans = hasnans # for index / array -agnostic code

_is_all_dates = True
@property
def _is_all_dates(self) -> bool:
return True

# ------------------------------------------------------------------------
# Abstract data attributes
Expand Down