

def mother(year=None):
    "\n    the 2nd Sunday in May\n    :param year: int\n    :return: Mother's day\n    "
    may_first = (datetime.date(_year, 5, 1) if (not year) else datetime.date(int(year), 5, 1))
    weekday_seq = may_first.weekday()
    return datetime.date(weekday_seq.year, 5, (14 - weekday_seq))

dataset/ETHPy150Open shinux/PyTime/pytime/pytime.py mother/VarMisuse@61/110 `may_first`->`weekday_seq`