mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
SF bug #827902: ctime is not creation time
New fix for this bug recognizes differing definitions on various systems.
This commit is contained in:
parent
9920430107
commit
c43a7e7c37
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue