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
9731eefc
Commit
9731eefc
authored
Jun 19, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #1739115: make shutil.rmtree docs clear wrt. file deletion.
parent
75ec1dbd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Doc/lib/libshutil.tex
Doc/lib/libshutil.tex
+6
-5
No files found.
Doc/lib/libshutil.tex
View file @
9731eefc
...
...
@@ -91,11 +91,12 @@ file type and creator codes will not be correct.
\end{funcdesc}
\begin{funcdesc}
{
rmtree
}{
path
\optional
{
, ignore
_
errors
\optional
{
, onerror
}}}
Delete an entire directory tree.
\index
{
directory!deleting
}
If
\var
{
ignore
_
errors
}
is true,
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.
\index
{
directory!deleting
}
Delete an entire directory tree (
\var
{
path
}
must point to a directory).
If
\var
{
ignore
_
errors
}
is true, 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