Removed the empty _set_properties method override from the YearPeriod period.
This commit is contained in:
parent
58d1add810
commit
9b273115a0
@ -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]:
|
||||||
|
Loading…
Reference in New Issue
Block a user