Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
545092b0
Commit
545092b0
authored
Aug 06, 2002
by
Steve Holden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comment about os.path.walk()'s behavior with symbolic links.
parent
3c668c12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Doc/lib/libposixpath.tex
Doc/lib/libposixpath.tex
+5
-0
No files found.
Doc/lib/libposixpath.tex
View file @
545092b0
...
...
@@ -214,4 +214,9 @@ 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
\keyword
{
del
}
or slice
assignment.)
Note that symbolic links to directories are not treated as subdirectories,
and that
\var
{
walk
}
therefore will not visit them. To visit linked
directories you must identify them with
\var
{
os.path.islink(file)
}
and
\var
{
os.path.isdir(file)
}
, and invoke
\function
{
walk()
}
as necessary.
\end{funcdesc}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment