def isleap(year):
    return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
Return 1 for leap years, 0 for non-leap years.
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/calendar.py/isleap