mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
parent
043fff0881
commit
1cd6e4dc38
3 changed files with 7 additions and 3 deletions
|
@ -146,7 +146,7 @@ def getatime(filename):
|
|||
return os.stat(filename).st_atime
|
||||
|
||||
def getctime(filename):
|
||||
"""Return the creation time of a file, reported by os.stat()."""
|
||||
"""Return the metadata change time of a file, reported by os.stat()."""
|
||||
return os.stat(filename).st_ctime
|
||||
|
||||
# Is a path a symbolic link?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue