Commit f87cc044 authored by Alexander Belopolsky's avatar Alexander Belopolsky

Fixed the docstring for calendar.isleap() function.

Thanks Boštjan Mejak for the patch.
parent 062d56b1
......@@ -95,7 +95,7 @@ month_abbr = _localized_month('%b')
def isleap(year):
"""Return 1 for leap years, 0 for non-leap years."""
"""Return True for leap years, False for non-leap years."""
return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment