Removed the empty _set_properties method override from the YearPeriod period.

This commit is contained in:
依瑪貓 2023-03-08 18:35:27 +08:00
parent 58d1add810
commit 9b273115a0

View File

@ -475,9 +475,6 @@ class YearPeriod(Period):
self.spec = str(year) self.spec = str(year)
self.is_a_year = True self.is_a_year = True
def _set_properties(self) -> None:
pass
def _parse_period_spec(text: str) \ def _parse_period_spec(text: str) \
-> tuple[datetime.date | None, datetime.date | None]: -> tuple[datetime.date | None, datetime.date | None]: