diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-12-31 13:11:54 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-12-31 13:11:54 (GMT) |
commit | 96a60e4af574d72f14ad70fc4db5986e1ad42aa5 (patch) | |
tree | 0e3b149954bb3f9df9257694f9a1e7d356e7ec7a /Doc/lib/libposixpath.tex | |
parent | 24a880b499a53436de52ef9ef107db001e59e24b (diff) | |
download | cpython-96a60e4af574d72f14ad70fc4db5986e1ad42aa5.zip cpython-96a60e4af574d72f14ad70fc4db5986e1ad42aa5.tar.gz cpython-96a60e4af574d72f14ad70fc4db5986e1ad42aa5.tar.bz2 |
Patch #658927: Add getctime to os.path.
Document that getatime and getmtime may return floats.
Diffstat (limited to 'Doc/lib/libposixpath.tex')
-rw-r--r-- | Doc/lib/libposixpath.tex | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex index 7825639..b83eff4 100644 --- a/Doc/lib/libposixpath.tex +++ b/Doc/lib/libposixpath.tex @@ -67,18 +67,28 @@ unchanged. \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 +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 integer giving the number of seconds since the epoch (see the +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} \begin{funcdesc}{getsize}{path} |