Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de5d5ce commit 69f87c5Copy full SHA for 69f87c5
1 file changed
Lib/macpath.py
@@ -104,17 +104,17 @@ def isdir(s):
104
def getsize(filename):
105
"""Return the size of a file, reported by os.stat()."""
106
st = os.stat(filename)
107
- return st[stat.ST_SIZE]
+ return st[ST_SIZE]
108
109
def getmtime(filename):
110
"""Return the last modification time of a file, reported by os.stat()."""
111
112
- return st[stat.ST_MTIME]
+ return st[ST_MTIME]
113
114
def getatime(filename):
115
"""Return the last access time of a file, reported by os.stat()."""
116
117
118
119
120
# Return true if the pathname refers to a symbolic link.
0 commit comments