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

Barry A. Warsaw python-dev@python.org
Mon, 1 May 2000 12:18:25 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Doc/lib
In directory anthem:/home/bwarsaw/projects/python/Doc/lib

Modified Files:
	libos.tex 
Log Message:
Document the new additional signature for utime().  In addition to the
previous functionality utime(path, (atime, mtime)), now allowed is
utime(path, None) which sets the file's times to the current time.


Index: libos.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** libos.tex	2000/04/03 20:13:53	1.38
--- libos.tex	2000/05/01 16:18:22	1.39
***************
*** 703,709 ****
  \end{funcdesc}
  
! \begin{funcdesc}{utime}{path, (atime, mtime)}
! Set the access and modified time of the file to the given values.
! (The second argument is a tuple of two items.)
  Availability: Macintosh, \UNIX{}, Windows.
  \end{funcdesc}
--- 703,712 ----
  \end{funcdesc}
  
! \begin{funcdesc}{utime}{path, times}
! Set the access and modified times of the file specified by \var{path}.
! If \var{times} is \code{None}, then the file's access and modified
! times are set to the current time.  Otherwise, \var{times} must be a
! 2-tuple of numbers, of the form \var{(atime, mtime)} which is used to
! set the access and modified times, respectively.
  Availability: Macintosh, \UNIX{}, Windows.
  \end{funcdesc}