[Python-checkins] CVS: python/dist/src/Doc/lib libcalendar.tex,1.6.4.1,1.6.4.2
Fred L. Drake
fdrake@weyr.cnri.reston.va.us
Wed, 15 Mar 2000 13:23:58 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Doc/lib
In directory weyr:/home/fdrake/projects/python/Doc-152p2/lib
Modified Files:
Tag: release152p1-patches
libcalendar.tex
Log Message:
Ah, the cascade effect....
A number of individually minor improvements.
Index: libcalendar.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/lib/libcalendar.tex,v
retrieving revision 1.6.4.1
retrieving revision 1.6.4.2
diff -C2 -r1.6.4.1 -r1.6.4.2
*** libcalendar.tex 2000/03/15 18:03:03 1.6.4.1
--- libcalendar.tex 2000/03/15 18:23:55 1.6.4.2
***************
*** 1,17 ****
- % This section was contributed by Drew Csillag <drew_csillag@geocities.com>.
-
\section{\module{calendar} ---
! Functions that emulate the \UNIX{} \program{cal} program.}
! \declaremodule{standard}{calendar}
!
! \modulesynopsis{Functions that emulate the \UNIX{} \program{cal}
! program.}
This module allows you to output calendars like the \UNIX{}
! \manpage{cal}{1} program.
\begin{funcdesc}{isleap}{year}
! Returns \code{1} if \var{year} is a leap year.
\end{funcdesc}
--- 1,17 ----
\section{\module{calendar} ---
! General calendar-related functions}
+ \declaremodule{standard}{calendar}
+ \modulesynopsis{General functions for working with the calendar,
+ including some emulation of the \UNIX{} \program{cal}
+ program.}
+ \sectionauthor{Drew Csillag}{drew_csillag@geocities.com}
This module allows you to output calendars like the \UNIX{}
! \program{cal} program, and provides additional useful functions
! related to the calendar.
\begin{funcdesc}{isleap}{year}
! Returns true if \var{year} is a leap year.
\end{funcdesc}
***************
*** 50,56 ****
\begin{funcdesc}{timegm}{tuple}
An unrelated but handy function that takes a time tuple such as
! returned by the \function{gmtime()} function in the \module{time}
module, and returns the corresponding Unix timestamp value, assuming
an epoch of 1970, and the POSIX encoding. In fact,
! \function{gmtime()} and \function{timegm()} are each others' inverse.
\end{funcdesc}
--- 50,61 ----
\begin{funcdesc}{timegm}{tuple}
An unrelated but handy function that takes a time tuple such as
! returned by the \function{gmtime()} function in the \refmodule{time}
module, and returns the corresponding Unix timestamp value, assuming
an epoch of 1970, and the POSIX encoding. In fact,
! \function{time.gmtime()} and \function{timegm()} are each others' inverse.
\end{funcdesc}
+
+
+ \begin{seealso}
+ \seemodule{time}{Low-level time related functions.}
+ \end{seealso}