From: Fred Drake Date: Wed, 31 Dec 2003 04:51:56 +0000 (+0000) Subject: - update description of isleap() X-Git-Tag: v2.4a1~1017 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ceb1fd2177d384b6ce469656dbd3212f454e4374;p=thirdparty%2FPython%2Fcpython.git - update description of isleap() - add link to the datetime module --- diff --git a/Doc/lib/libcalendar.tex b/Doc/lib/libcalendar.tex index bf0c85bc2cb6..f97e60ebe5d7 100644 --- a/Doc/lib/libcalendar.tex +++ b/Doc/lib/libcalendar.tex @@ -42,7 +42,8 @@ Returns the current setting for the weekday to start each week. \end{funcdesc} \begin{funcdesc}{isleap}{year} -Returns \code{1} if \var{year} is a leap year, otherwise \code{0}. +Returns \constant{True} if \var{year} is a leap year, otherwise +\constant{False}. \end{funcdesc} \begin{funcdesc}{leapdays}{y1, y2} @@ -108,5 +109,8 @@ an epoch of 1970, and the POSIX encoding. In fact, \begin{seealso} + \seemodule{datetime}{Object-oriented interface to dates and times + with similar functionality to the + \refmodule{time} module.} \seemodule{time}{Low-level time related functions.} \end{seealso}