Skip to content

Commit 4255d69

Browse files
committed
Unify docstrings
1 parent 5079f5d commit 4255d69

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

holidays/countries/christmas_island.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ class ChristmasIsland(
7272
start_year = 2007
7373

7474
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
75+
"""
76+
Args:
77+
islamic_show_estimated:
78+
Whether to add "estimated" label to Islamic holidays name
79+
if holiday date is estimated.
80+
"""
7581
ChineseCalendarHolidays.__init__(self, cls=ChristmasIslandChineseHolidays)
7682
ChristianHolidays.__init__(self)
7783
InternationalHolidays.__init__(self)

holidays/countries/turkmenistan.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ class Turkmenistan(ObservedHolidayBase, InternationalHolidays, IslamicHolidays):
4444
supported_languages = ("en_US", "ru", "tk")
4545

4646
def __init__(self, *args, islamic_show_estimated: bool = True, **kwargs):
47+
"""
48+
Args:
49+
islamic_show_estimated:
50+
Whether to add "estimated" label to Islamic holidays name
51+
if holiday date is estimated.
52+
"""
4753
InternationalHolidays.__init__(self)
4854
IslamicHolidays.__init__(
4955
self, cls=TurkmenistanIslamicHolidays, show_estimated=islamic_show_estimated

0 commit comments

Comments
 (0)