[Python-checkins] CVS: python/dist/src/Doc/lib libtime.tex,1.37,1.38

Fred L. Drake fdrake@users.sourceforge.net
Wed, 18 Apr 2001 21:55:25 -0700


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

Modified Files:
	libtime.tex 
Log Message:

Add versioning notes:  many of the signatures changed to allow the time
used to be omitted (meaning use the current time) as of Python 2.1.
Users who need cross-version portability need to know things like this.


Index: libtime.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libtime.tex,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -r1.37 -r1.38
*** libtime.tex	2001/02/03 14:35:38	1.37
--- libtime.tex	2001/04/19 04:55:23	1.38
***************
*** 123,126 ****
--- 123,127 ----
  current time as returned by \function{localtime()} is used.  Note: unlike
  the C function of the same name, there is no trailing newline.
+ \versionchanged[Allowed \var{tuple} to be omitted]{2.1}
  \end{funcdesc}
  
***************
*** 138,141 ****
--- 139,143 ----
  as returned by \function{time()} is used.  \code{ctime(\var{secs})}
  is equivalent to \code{asctime(localtime(\var{secs}))}.
+ \versionchanged[Allowed \var{secs} to be omitted]{2.1}
  \end{funcdesc}
  
***************
*** 150,153 ****
--- 152,156 ----
  Fractions of a second are ignored.  See above for a description of the
  tuple lay-out.
+ \versionchanged[Allowed \var{secs} to be omitted]{2.1}
  \end{funcdesc}
  
***************
*** 155,158 ****
--- 158,162 ----
  Like \function{gmtime()} but converts to local time.  The dst flag is
  set to \code{1} when DST applies to the given time.
+ \versionchanged[Allowed \var{secs} to be omitted]{2.1}
  \end{funcdesc}
  
***************
*** 181,184 ****
--- 185,189 ----
  argument.  If \var{tuple} is not provided, the current time as returned by
  \function{localtime()} is used.  \var{format} must be a string.
+ \versionchanged[Allowed \var{tuple} to be omitted]{2.1}
  
  The following directives can be embedded in the \var{format} string.