]> granicus.if.org Git - python/commitdiff
Correct typo in walk.__doc__ reported by Francois Pinard.
authorGuido van Rossum <guido@python.org>
Tue, 2 Nov 1999 13:29:08 +0000 (13:29 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 2 Nov 1999 13:29:08 +0000 (13:29 +0000)
Lib/ntpath.py
Lib/posixpath.py

index 94c349caaad37e73e3337f8f0d5de540bc27d0ed..75cbe4980df09a7d0554685e43e99f58bd881a66 100644 (file)
@@ -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:
index 36edc80f1400eef0560b2302b457d87fc0f33261..874dc4c95a7896e789b634fac810c01a22966860 100644 (file)
@@ -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".
 """