Remove untrue statement about . and .. being included in list of names

passed to walk() visitor.
This commit is contained in:
Guido van Rossum 1997-03-25 15:25:54 +00:00
parent fb8f1cadb2
commit e8e87999ab
2 changed files with 4 additions and 4 deletions

View file

@ -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