We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent78c4095 commit22cc627Copy full SHA for 22cc627
Doc/lib/libshutil.tex
@@ -73,8 +73,9 @@ \section{\module{shutil} ---
73
\begin{funcdesc}{rmtree}{path\optional{, ignore_errors\optional{, onerror}}}
74
\index{directory!deleting}
75
Delete an entire directory tree. If\var{ignore_errors} is true,
76
- errors will be ignored; if false or omitted, errors are handled by
77
- 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
78
+\var{onerror} or, if that is omitted, they raise an exception.
79
80
If\var{onerror} is provided, it must be a callable that accepts
81
three parameters:\var{function},\var{path}, and\var{excinfo}.