diff options
author | Georg Brandl <georg@python.org> | 2011-08-01 22:59:40 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-08-01 22:59:40 +0200 |
commit | b0fa4b843324ddebce03f13aa27021ed3d03332d (patch) | |
tree | f0e299bf58595f6d25396635d5d736c68f551384 | |
parent | eec1ed81192e856ada3fab4d13aaea7d7a581f0a (diff) | |
parent | aa71583f09a39becfb3df55dc440820f33925029 (diff) | |
download | cpython-git-b0fa4b843324ddebce03f13aa27021ed3d03332d.tar.gz |
Merge with 3.2
-rw-r--r-- | Doc/library/stat.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stat.rst b/Doc/library/stat.rst index 4f79689207..7de98b6581 100644 --- a/Doc/library/stat.rst +++ b/Doc/library/stat.rst @@ -87,7 +87,7 @@ Example:: 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) |