Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062d56b commit f87cc04Copy full SHA for f87cc04
1 file changed
Lib/calendar.py
@@ -95,7 +95,7 @@ def __len__(self):
95
96
97
def isleap(year):
98
- """Return 1 for leap years, 0 for non-leap years."""
+ """Return True for leap years, False for non-leap years."""
99
return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
100
101
0 commit comments