[Python-checkins] python/dist/src/Doc/lib libcalendar.tex,1.9.6.1,1.9.6.2

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Wed, 12 Jun 2002 18:36:44 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv9683/lib

Modified Files:
      Tag: release21-maint
	libcalendar.tex 
Log Message:
Add version annotations for some older changes to the calendar module.
Closes SF patch #567867.

Added a couple of minor clarifications present in the 2.2.x and 2.3
version of the documentation which also apply to 2.1.x.


Index: libcalendar.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcalendar.tex,v
retrieving revision 1.9.6.1
retrieving revision 1.9.6.2
diff -C2 -d -r1.9.6.1 -r1.9.6.2
*** libcalendar.tex	9 May 2001 15:52:56 -0000	1.9.6.1
--- libcalendar.tex	13 Jun 2002 01:36:42 -0000	1.9.6.2
***************
*** 26,33 ****
--- 26,35 ----
  calendar.setfirstweekday(calendar.SUNDAY)
  \end{verbatim}
+ \versionadded{2.0}
  \end{funcdesc}
  
  \begin{funcdesc}{firstweekday}{}
  Returns the current setting for the weekday to start each week.
+ \versionadded{2.0}
  \end{funcdesc}
  
***************
*** 38,42 ****
  \begin{funcdesc}{leapdays}{y1, y2}
  Returns the number of leap years in the range
! [\var{y1}\ldots\var{y2}).
  \end{funcdesc}
  
--- 40,46 ----
  \begin{funcdesc}{leapdays}{y1, y2}
  Returns the number of leap years in the range
! [\var{y1}\ldots\var{y2}), where \var{y1} and \var{y2} are years.
! \versionchanged[This function didn't work for ranges spanning 
!                 a century change in Python 1.5.2]{2.0}
  \end{funcdesc}
  
***************
*** 68,71 ****
--- 72,76 ----
  each week will use. Depends on the first weekday as set by
  \function{setfirstweekday()}.
+ \versionadded{2.0}
  \end{funcdesc}
  
***************
*** 80,84 ****
  width, lines per week, and number of spaces between month columns,
  respectively. Depends on the first weekday as set by
! \function{setfirstweekday()}.
  \end{funcdesc}
  
--- 85,91 ----
  width, lines per week, and number of spaces between month columns,
  respectively. Depends on the first weekday as set by
! \function{setfirstweekday()}.  The earliest year for which a calendar can
! be generated is platform-dependent.
! \versionadded{2.0}
  \end{funcdesc}
  
***************
*** 89,92 ****
--- 96,100 ----
  an epoch of 1970, and the POSIX encoding.  In fact,
  \function{time.gmtime()} and \function{timegm()} are each others' inverse.
+ \versionadded{2.0}
  \end{funcdesc}