diff options
author | Fred Drake <fdrake@acm.org> | 2003-12-31 04:51:56 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-12-31 04:51:56 (GMT) |
commit | ceb1fd2177d384b6ce469656dbd3212f454e4374 (patch) | |
tree | b82d0264ace6de00b7a4b9a3439b9691641c81ac /Doc/lib | |
parent | 6f51a72a61954110598fabaff19c903342ff6a22 (diff) | |
download | cpython-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.tex | 6 |
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} |