diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ntpath.py | 2 | ||||
-rw-r--r-- | Lib/posixpath.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py index 94c349c..75cbe49 100644 --- a/Lib/ntpath.py +++ b/Lib/ntpath.py @@ -255,7 +255,7 @@ def ismount(path): def walk(top, func, arg): """Directory tree walk whth callback function. - walk(top, func, args) calls func(arg, d, files) for each directory d + walk(top, func, arg) calls func(arg, d, files) for each directory d in the tree rooted at top (including top itself); files is a list of all the files and subdirs in directory d.""" try: diff --git a/Lib/posixpath.py b/Lib/posixpath.py index 36edc80..874dc4c 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -254,7 +254,7 @@ def ismount(path): # or to impose a different order of visiting. def walk(top, func, arg): - """walk(top,func,args) calls func(arg, d, files) for each directory "d" + """walk(top,func,arg) calls func(arg, d, files) for each directory "d" in the tree rooted at "top" (including "top" itself). "files" is a list of all the files and subdirs in directory "d". """ |