Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cadu-leite committed Jun 25, 2022
1 parent b0020a5 commit c69bf9b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions networkdays/networkdays.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ def networkdays(self):
date_start (datetime.date): initial date
date_end (datetime.date): end date, or if none, is the last day of the
date_start year.
workdays (set): set (list) of working days in ISO format,
Monday is 1 and Sunday is 7.
holidays (set): datetime object set, indicating days off.
weekdaysoff (set): set of weekdays not working,
holidays (sipytho net): list of datetime object, indicating days off.
weekdaysoff (set): list of weekdays not working,
default is Saturday and Sunday {6,7}.
returns:
Expand All @@ -42,7 +40,7 @@ def networkdays(self):
'''

# if not dte_end, assume 1 year after (by calendar) date start
# if not date_end, assume 1 year after (by calendar) date start
if self.date_end is None:
self.date_end = datetime.date(
self.date_start.year + 1,
Expand Down

0 comments on commit c69bf9b

Please sign in to comment.