Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit22cc627

Browse files
committed
Clarified description of error handling for shutil.rmtree().
This closes SF patch #569832.
1 parent78c4095 commit22cc627

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎Doc/lib/libshutil.tex‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ \section{\module{shutil} ---
7373
\begin{funcdesc}{rmtree}{path\optional{, ignore_errors\optional{, onerror}}}
7474
\index{directory!deleting}
7575
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.
76+
errors resulting from failed removals will be ignored; if false or
77+
omitted, such errors are handled by calling a handler specified by
78+
\var{onerror} or, if that is omitted, they raise an exception.
7879

7980
If\var{onerror} is provided, it must be a callable that accepts
8081
three parameters:\var{function},\var{path}, and\var{excinfo}.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp