summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-10-29 00:46:19 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-10-29 00:46:19 (GMT)
commitc43a7e7c370215518ea110f4d98493935bd1c2b8 (patch)
tree93a31fe8fb4cb7792efdcc760378974b794471ae
parent99204301074940a1921e0469295a4bf80250b40c (diff)
downloadcpython-c43a7e7c370215518ea110f4d98493935bd1c2b8.zip
cpython-c43a7e7c370215518ea110f4d98493935bd1c2b8.tar.gz
cpython-c43a7e7c370215518ea110f4d98493935bd1c2b8.tar.bz2
SF bug #827902: ctime is not creation time
New fix for this bug recognizes differing definitions on various systems.
-rw-r--r--Doc/lib/libposixpath.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index b3973e3..aa790e7 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -84,8 +84,9 @@ not exist or is inaccessible.
\end{funcdesc}
\begin{funcdesc}{getctime}{path}
-Return the time of most recent content modification or metadata change
-for \var{path}. The return
+Return the system's ctime which, on some systems (like \UNIX) is the
+time of the last change, and, on others (like Windows), is the
+creation time for \var{path}. 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.