Skip to content

Commit 95a17b4

Browse files
gh-141045: Document that shutil.Error is a subclass of OSError (#141152)
1 parent 103a384 commit 95a17b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/shutil.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ Directory and files operations
515515

516516
.. exception:: Error
517517

518-
This exception collects exceptions that are raised during a multi-file
518+
Subclass of :exc:`OSError` collecting exceptions raised during a multi-file
519519
operation. For :func:`copytree`, the exception argument is a list of 3-tuples
520520
(*srcname*, *dstname*, *exception*).
521521

0 commit comments

Comments
 (0)