From 3107d944855c33765c67eef23d89509e5ee1219f Mon Sep 17 00:00:00 2001 From: Xu Jay Date: Fri, 15 Nov 2024 00:14:01 +0800 Subject: [PATCH] Implement LastNDayOfMonthExpression --- src/apscheduler/triggers/cron/expressions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apscheduler/triggers/cron/expressions.py b/src/apscheduler/triggers/cron/expressions.py index ff60f83b..a21af7b8 100644 --- a/src/apscheduler/triggers/cron/expressions.py +++ b/src/apscheduler/triggers/cron/expressions.py @@ -257,7 +257,7 @@ class LastNDayOfMonthExpression(AllExpression): value_re = re.compile(r"last-(?P[0-9]+)", re.IGNORECASE) def __init__(self, last_day): - super(LastNDayOfMonthExpression, self).__init__(None) + super().__init__(None) self.last_day = as_int(last_day) def get_next_value(self, date, field):