summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-11-02 13:29:08 (GMT)
committerGuido van Rossum <guido@python.org>1999-11-02 13:29:08 (GMT)
commitf618a48d117fe98dce05253eded6caeb9a849114 (patch)
tree21bcc851c8fb5344f9f5e138016fdd5673837cdc
parent5a2ca9328df3f73fcf0b38d488972ef139cc73e1 (diff)
downloadcpython-f618a48d117fe98dce05253eded6caeb9a849114.zip
cpython-f618a48d117fe98dce05253eded6caeb9a849114.tar.gz
cpython-f618a48d117fe98dce05253eded6caeb9a849114.tar.bz2
Correct typo in walk.__doc__ reported by Francois Pinard.
-rw-r--r--Lib/ntpath.py2
-rw-r--r--Lib/posixpath.py2
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".
"""