summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-03-25 15:25:54 (GMT)
committerGuido van Rossum <guido@python.org>1997-03-25 15:25:54 (GMT)
commite8e87999ab6ed6aa5aac921fc2e262de618829d9 (patch)
tree9502096dcec9fca6bacc93eb7ba3a047982cdebc
parentfb8f1cadb279d34860d31f67813e4b405411d3da (diff)
downloadcpython-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.
-rw-r--r--Doc/lib/libppath.tex4
-rw-r--r--Doc/libppath.tex4
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