Skip to content

Commit

Permalink
Fixed docstring and error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
simlist committed Mar 25, 2022
1 parent 0d99d96 commit fe547c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyluach/hebrewcal.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def starting_weekday(self):
return HebrewDate(self.year, self.month, 1).weekday()

def _elapsed_months(self):
'''Return number of months elapsed from beginning of calendar'''
"""Return number of months elapsed from beginning of calendar"""
yearmonths = tuple(Year(self.year))
months_elapsed = (
utils._elapsed_months(self.year)
Expand All @@ -500,8 +500,7 @@ def iterdates(self):
Yields
------
``HebrewDate``
The next Hebrew Date of the year starting the first day of
Tishrei through the last day of Ellul.
The next Hebrew date of the month.
"""
for day in self:
yield HebrewDate(self.year, self.month, day)
Expand Down

0 comments on commit fe547c1

Please sign in to comment.