summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libposixpath.tex12
1 files changed, 8 insertions, 4 deletions
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index be22827..d0bb73b 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -215,8 +215,12 @@ avoid visiting certain parts of the tree. (The object referred to by
\var{names} must be modified in place, using \keyword{del} or slice
assignment.)
-Note that symbolic links to directories are not treated as subdirectories,
-and that \function{walk} therefore will not visit them. To visit linked
-directories you must identify them with \code{os.path.islink(file)} and
-\code{os.path.isdir(file)}, and invoke \function{walk()} as necessary.
+\begin{notice}
+Symbolic links to directories are not treated as subdirectories, and
+that \function{walk()} therefore will not visit them. To visit linked
+directories you must identify them with
+\code{os.path.islink(\var{file})} and
+\code{os.path.isdir(\var{file})}, and invoke \function{walk()} as
+necessary.
+\end{notice}
\end{funcdesc}