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

This commit is contained in:
Georg Brandl 2013-10-06 09:52:55 +02:00
parent d2914ce0f7
commit f6324941f0

View file

@ -150,7 +150,7 @@ the :mod:`glob` module.)
.. function:: getctime(path)
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 :mod:`time` module). Raise :exc:`OSError` if the file does not exist or
is inaccessible.