summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libposixpath.tex
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-12-31 13:11:54 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-12-31 13:11:54 (GMT)
commit96a60e4af574d72f14ad70fc4db5986e1ad42aa5 (patch)
tree0e3b149954bb3f9df9257694f9a1e7d356e7ec7a /Doc/lib/libposixpath.tex
parent24a880b499a53436de52ef9ef107db001e59e24b (diff)
downloadcpython-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.tex14
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}