[Python-checkins] cpython (merge 3.2 -> default): Merge with 3.2
georg.brandl
python-checkins at python.org
Mon Aug 1 22:59:24 CEST 2011
http://hg.python.org/cpython/rev/283ff2609046
changeset: 71680:283ff2609046
parent: 71678:7af576e3cb0c
parent: 71679:1f9ca1819d7c
user: Georg Brandl <georg at python.org>
date: Mon Aug 01 22:59:40 2011 +0200
summary:
Merge with 3.2
files:
Doc/library/stat.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/stat.rst b/Doc/library/stat.rst
--- a/Doc/library/stat.rst
+++ b/Doc/library/stat.rst
@@ -87,7 +87,7 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list