summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libposixpath.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-08-07 12:39:33 (GMT)
committerFred Drake <fdrake@acm.org>2002-08-07 12:39:33 (GMT)
commit95fa4ddf7b983be2f194412d0ff6c1b93aa3dbf4 (patch)
tree8dd8c3a00b2d72316f79e832c426ee9ae2ce41ba /Doc/lib/libposixpath.tex
parent019934b3ccd27463e1bed94b280acba65fb43ccf (diff)
downloadcpython-95fa4ddf7b983be2f194412d0ff6c1b93aa3dbf4.zip
cpython-95fa4ddf7b983be2f194412d0ff6c1b93aa3dbf4.tar.gz
cpython-95fa4ddf7b983be2f194412d0ff6c1b93aa3dbf4.tar.bz2
Change the markup a bit more; the parameter was not marked as \var in the
sample code, and the note was marked as a logical thing.
Diffstat (limited to 'Doc/lib/libposixpath.tex')
-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}