From e8e87999ab6ed6aa5aac921fc2e262de618829d9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 25 Mar 1997 15:25:54 +0000 Subject: Remove untrue statement about . and .. being included in list of names passed to walk() visitor. --- Doc/lib/libppath.tex | 4 ++-- Doc/libppath.tex | 4 ++-- 2 files changed, 4 insertions(+), 4 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 diff --git a/Doc/libppath.tex b/Doc/libppath.tex index 7aec4b8..9078560 100644 --- a/Doc/libppath.tex +++ b/Doc/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 -- cgit v0.12