def __init__(self, option_name, weekday_name):
        try:
            self.option_num = self.options.index(option_name.lower())
        except ValueError:
            raise ValueError('Invalid weekday position "%s"' % option_name)

        try:
            self.weekday = WEEKDAYS.index(weekday_name.lower())
        except __HOLE__:
            raise ValueError('Invalid weekday name "%s"' % weekday_name)
dataset/ETHPy150Open agronholm/apscheduler/apscheduler/triggers/cron/expressions.py/WeekdayPositionExpression.__init__