]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
- update description of isleap()
authorFred Drake <fdrake@acm.org>
Wed, 31 Dec 2003 04:51:56 +0000 (04:51 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 31 Dec 2003 04:51:56 +0000 (04:51 +0000)
- add link to the datetime module

Doc/lib/libcalendar.tex

index bf0c85bc2cb63fd0de1e50b2c1cf9fa0cf17e87b..f97e60ebe5d707a14ec8631a08402243d66f7eef 100644 (file)
@@ -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}