Merge with 3.2

This commit is contained in:
Georg Brandl 2011-08-01 22:59:40 +02:00
commit b0fa4b8433
1 changed files with 1 additions and 1 deletions

View File

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