diff options
Diffstat (limited to 'Lib/ntpath.py')
-rw-r--r-- | Lib/ntpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py index 51e60a2edd..23b7ce3d4a 100644 --- a/Lib/ntpath.py +++ b/Lib/ntpath.py @@ -183,7 +183,7 @@ def getmtime(filename): def getatime(filename): """Return the last access time of a file, reported by os.stat()""" st = os.stat(filename) - return st[stat.ST_MTIME] + return st[stat.ST_ATIME] # Is a path a symbolic link? |