diff options
author | Guido van Rossum <guido@python.org> | 1997-03-25 15:25:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-03-25 15:25:54 (GMT) |
commit | e8e87999ab6ed6aa5aac921fc2e262de618829d9 (patch) | |
tree | 9502096dcec9fca6bacc93eb7ba3a047982cdebc /Doc/lib | |
parent | fb8f1cadb279d34860d31f67813e4b405411d3da (diff) | |
download | cpython-e8e87999ab6ed6aa5aac921fc2e262de618829d9.zip cpython-e8e87999ab6ed6aa5aac921fc2e262de618829d9.tar.gz cpython-e8e87999ab6ed6aa5aac921fc2e262de618829d9.tar.bz2 |
Remove untrue statement about . and .. being included in list of names
passed to walk() visitor.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libppath.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libppath.tex b/Doc/lib/libppath.tex index 7aec4b8..9078560 100644 --- a/Doc/lib/libppath.tex +++ b/Doc/lib/libppath.tex @@ -125,8 +125,8 @@ Calls the function \var{visit} with arguments directory tree rooted at \var{p} (including \var{p} itself, if it is a directory). The argument \var{dirname} specifies the visited directory, the argument \var{names} lists the files in the directory (gotten from -\code{posix.listdir(\var{dirname})}, so including \samp{.} and -\samp{..}). The \var{visit} function may modify \var{names} to +\code{posix.listdir(\var{dirname})}). +The \var{visit} function may modify \var{names} to influence the set of directories visited below \var{dirname}, e.g., to avoid visiting certain parts of the tree. (The object referred to by \var{names} must be modified in place, using \code{del} or slice |