Skip to content

Commit

Permalink
Merge pull request #111 from evanpurkhiser/remove-alphas
Browse files Browse the repository at this point in the history
Remove unused `ALPHAS`
  • Loading branch information
kiorky authored Oct 30, 2024
2 parents 1af266b + d211ca9 commit 4530db6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/croniter/croniter.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ def is_32bit():
M_ALPHAS = {'jan': 1, 'feb': 2, 'mar': 3, 'apr': 4, 'may': 5, 'jun': 6,
'jul': 7, 'aug': 8, 'sep': 9, 'oct': 10, 'nov': 11, 'dec': 12}
DOW_ALPHAS = {'sun': 0, 'mon': 1, 'tue': 2, 'wed': 3, 'thu': 4, 'fri': 5, 'sat': 6}
ALPHAS = {}
for i in M_ALPHAS, DOW_ALPHAS:
ALPHAS.update(i)
del i

step_search_re = re.compile(r'^([^-]+)-([^-/]+)(/(\d+))?$')
only_int_re = re.compile(r'^\d+$')

Expand Down

0 comments on commit 4530db6

Please sign in to comment.