mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Merge with 3.2
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user