[Python-checkins] python/dist/src/Doc/lib libposixpath.tex,1.30,1.31
loewis@users.sourceforge.net
loewis@users.sourceforge.net
2002年12月31日 05:11:56 -0800
- Previous message: [Python-checkins] python/dist/src/Modules posixmodule.c,2.276,2.277
- Next message: [Python-checkins] python/dist/src/Lib macpath.py,1.41,1.42 ntpath.py,1.52,1.53 os2emxpath.py,1.7,1.8 posixpath.py,1.55,1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv1176/Doc/lib
Modified Files:
libposixpath.tex
Log Message:
Patch #658927: Add getctime to os.path.
Document that getatime and getmtime may return floats.
Index: libposixpath.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libposixpath.tex,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** libposixpath.tex 11 Dec 2002 12:55:53 -0000 1.30
--- libposixpath.tex 31 Dec 2002 13:11:53 -0000 1.31
***************
*** 68,83 ****
\begin{funcdesc}{getatime}{path}
Return the time of last access of \var{filename}. The return
! value is integer giving the number of seconds since the epoch (see the
\refmodule{time} module). Raise \exception{os.error} if the file does
not exist or is inaccessible.
\versionadded{1.5.2}
\end{funcdesc}
\begin{funcdesc}{getmtime}{path}
Return the time of last modification of \var{filename}. The return
! value is integer giving the number of seconds since the epoch (see the
\refmodule{time} module). Raise \exception{os.error} if the file does
not exist or is inaccessible.
\versionadded{1.5.2}
\end{funcdesc}
--- 68,93 ----
\begin{funcdesc}{getatime}{path}
Return the time of last access of \var{filename}. The return
! value is a number giving the number of seconds since the epoch (see the
\refmodule{time} module). Raise \exception{os.error} if the file does
not exist or is inaccessible.
\versionadded{1.5.2}
+ \versionchanged[If \function{os.stat_float_times()} returns True, the result is a floating point number]{2.3}
\end{funcdesc}
\begin{funcdesc}{getmtime}{path}
Return the time of last modification of \var{filename}. The return
! value is a number giving the number of seconds since the epoch (see the
\refmodule{time} module). Raise \exception{os.error} if the file does
not exist or is inaccessible.
\versionadded{1.5.2}
+ \versionchanged[If \function{os.stat_float_times()} returns True, the result is a floating point number]{2.3}
+ \end{funcdesc}
+
+ \begin{funcdesc}{getctime}{path}
+ Return the time of creation of \var{filename}. The return
+ value is a number giving the number of seconds since the epoch (see the
+ \refmodule{time} module). Raise \exception{os.error} if the file does
+ not exist or is inaccessible.
+ \versionadded{2.3}
\end{funcdesc}
- Previous message: [Python-checkins] python/dist/src/Modules posixmodule.c,2.276,2.277
- Next message: [Python-checkins] python/dist/src/Lib macpath.py,1.41,1.42 ntpath.py,1.52,1.53 os2emxpath.py,1.7,1.8 posixpath.py,1.55,1.56
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]