summaryrefslogtreecommitdiff
path: root/Lib/macpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r--Lib/macpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py
index 3e36f79dd8..464bdd0f55 100644
--- a/Lib/macpath.py
+++ b/Lib/macpath.py
@@ -114,7 +114,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[ST_MTIME]
+ return st[ST_ATIME]
def islink(s):