Commit b66b0010 authored by Georg Brandl's avatar Georg Brandl

Clarify docs for os.path.getctime on Unix: it is the inode (metadata) change time

parent 46c6920c
...@@ -150,7 +150,7 @@ the :mod:`glob` module.) ...@@ -150,7 +150,7 @@ the :mod:`glob` module.)
.. function:: getctime(path) .. function:: getctime(path)
Return the system's ctime which, on some systems (like Unix) is the time of the 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 *path*. last metadata change, and, on others (like Windows), is the creation time for *path*.
The return value is a number giving the number of seconds since the epoch (see The return value is a number giving the number of seconds since the epoch (see
the :mod:`time` module). Raise :exc:`OSError` if the file does not exist or the :mod:`time` module). Raise :exc:`OSError` if the file does not exist or
is inaccessible. is inaccessible.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment