diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-10-19 17:50:22 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-10-19 17:50:22 (GMT) |
commit | 455b0db6ffbf27145940a7eb48adf38d61005ee7 (patch) | |
tree | 4a15d90acd6eb54fde4241727be51292aaf9671b | |
parent | d371a5194aabf3daddc8bd20ba084131e031864b (diff) | |
download | cpython-455b0db6ffbf27145940a7eb48adf38d61005ee7.zip cpython-455b0db6ffbf27145940a7eb48adf38d61005ee7.tar.gz cpython-455b0db6ffbf27145940a7eb48adf38d61005ee7.tar.bz2 |
Merged revisions 85725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85725 | alexander.belopolsky | 2010-10-19 13:43:50 -0400 (Tue, 19 Oct 2010) | 3 lines
Fixed the docstring for calendar.isleap() function.
Thanks BoĊĦtjan Mejak for the patch.
........
-rw-r--r-- | Lib/calendar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py index 0c1fdad..12bd1a8 100644 --- a/Lib/calendar.py +++ b/Lib/calendar.py @@ -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) |