Commits

Georg Brandl  committed 283ff26 Merge

Merge with 3.2

  • Participants
  • Parent commits 7af576e, 1f9ca18

Comments (0)

Files changed (1)

File Doc/library/stat.rst

 
        for f in os.listdir(top):
            pathname = os.path.join(top, f)
-           mode = os.stat(pathname)[ST_MODE]
+           mode = os.stat(pathname).st_mode
            if S_ISDIR(mode):
                # It's a directory, recurse into it
                walktree(pathname, callback)