Skip to content

Commit

Permalink
Merge pull request #104 from evanpurkhiser/range-comment
Browse files Browse the repository at this point in the history
Add comment to RANGES
  • Loading branch information
kiorky authored Oct 30, 2024
2 parents be934b4 + 9e07578 commit 9b650e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/croniter/croniter.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ class CroniterNotAlphaError(CroniterBadCronError):

class croniter(object):
MONTHS_IN_YEAR = 12

# This helps with expanding `*` fields into `lower-upper` ranges. Each item
# in this tuple maps to the corresponding field index
RANGES = (
(0, 59),
(0, 23),
Expand Down

0 comments on commit 9b650e5

Please sign in to comment.