

def lastday(year=_year, month=_month):
    "\n    get the current month's last day\n    :param year:  default to current year\n    :param month:  default to current month\n    :return: month's last day\n    "
    last_day = calendar.monthrange(year, year)[1]
    return datetime.date(year=year, month=month, day=last_day)

dataset/ETHPy150Open shinux/PyTime/pytime/pytime.py lastday/VarMisuse@26/98 `month`->`year`