Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c668c1 commit 545092bCopy full SHA for 545092b
1 file changed
Doc/lib/libposixpath.tex
@@ -214,4 +214,9 @@ \section{\module{os.path} ---
214
avoid visiting certain parts of the tree. (The object referred to by
215
\var{names} must be modified in place, using \keyword{del} or slice
216
assignment.)
217
+
218
+Note that symbolic links to directories are not treated as subdirectories,
219
+and that \var{walk} therefore will not visit them. To visit linked
220
+directories you must identify them with \var{os.path.islink(file)} and
221
+\var{os.path.isdir(file)}, and invoke \function{walk()} as necessary.
222
\end{funcdesc}
0 commit comments