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 b1e8154 commit 28bdc62Copy full SHA for 28bdc62
1 file changed
Doc/lib/libshutil.tex
@@ -78,8 +78,9 @@ \section{\module{shutil} ---
78
\begin{funcdesc}{rmtree}{path\optional{, ignore_errors\optional{, onerror}}}
79
\index{directory!deleting}
80
Delete an entire directory tree. If \var{ignore_errors} is true,
81
- errors will be ignored; if false or omitted, errors are handled by
82
- 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
83
+ \var{onerror} or, if that is omitted, they raise an exception.
84
85
If \var{onerror} is provided, it must be a callable that accepts
86
three parameters: \var{function}, \var{path}, and \var{excinfo}.
0 commit comments