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
69120667
Commit
69120667
authored
Jun 18, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified description of error handling for shutil.rmtree().
This closes SF patch #569832.
parent
19485b59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Doc/lib/libshutil.tex
Doc/lib/libshutil.tex
+3
-2
No files found.
Doc/lib/libshutil.tex
View file @
69120667
...
...
@@ -78,8 +78,9 @@ file type and creator codes will not be correct.
\begin{funcdesc}
{
rmtree
}{
path
\optional
{
, ignore
_
errors
\optional
{
, onerror
}}}
\index
{
directory!deleting
}
Delete an entire directory tree. If
\var
{
ignore
_
errors
}
is true,
errors will be ignored; if false or omitted, errors are handled by
calling a handler specified by
\var
{
onerror
}
or raise an exception.
errors resulting from failed removals will be ignored; if false or
omitted, such errors are handled by calling a handler specified by
\var
{
onerror
}
or, if that is omitted, they raise an exception.
If
\var
{
onerror
}
is provided, it must be a callable that accepts
three parameters:
\var
{
function
}
,
\var
{
path
}
, and
\var
{
excinfo
}
.
...
...
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