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.
This commit is contained in:
Fred Drake 2002-08-07 12:39:33 +00:00
parent 019934b3cc
commit 95fa4ddf7b
1 changed files with 8 additions and 4 deletions

View File

@ -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 \var{names} must be modified in place, using \keyword{del} or slice
assignment.) assignment.)
Note that symbolic links to directories are not treated as subdirectories, \begin{notice}
and that \function{walk} therefore will not visit them. To visit linked Symbolic links to directories are not treated as subdirectories, and
directories you must identify them with \code{os.path.islink(file)} and that \function{walk()} therefore will not visit them. To visit linked
\code{os.path.isdir(file)}, and invoke \function{walk()} as necessary. 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} \end{funcdesc}