mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
- update description of isleap()
- add link to the datetime module
This commit is contained in:
parent
6f51a72a61
commit
ceb1fd2177
1 changed files with 5 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue