diff --git a/Lib/stat.py b/Lib/stat.py index 273745d8035..fee49659a70 100644 --- a/Lib/stat.py +++ b/Lib/stat.py @@ -22,6 +22,8 @@ ST_ATIME = 7 ST_MTIME = 8 ST_CTIME = 9 +def S_IMODE(mode): + return mode%4096 def S_IFMT(mode): return mode - mode%4096