summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-12-31 04:51:56 (GMT)
committerFred Drake <fdrake@acm.org>2003-12-31 04:51:56 (GMT)
commitceb1fd2177d384b6ce469656dbd3212f454e4374 (patch)
treeb82d0264ace6de00b7a4b9a3439b9691641c81ac /Doc/lib
parent6f51a72a61954110598fabaff19c903342ff6a22 (diff)
downloadcpython-ceb1fd2177d384b6ce469656dbd3212f454e4374.zip
cpython-ceb1fd2177d384b6ce469656dbd3212f454e4374.tar.gz
cpython-ceb1fd2177d384b6ce469656dbd3212f454e4374.tar.bz2
- update description of isleap()
- add link to the datetime module
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libcalendar.tex6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/lib/libcalendar.tex b/Doc/lib/libcalendar.tex
index bf0c85b..f97e60e 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}