Skip to content

Commit 08e4b96

Browse files
Doc: Document that shutil.Error is a subclass of OSError
Fixes #141045
1 parent 1ae9004 commit 08e4b96

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
@@ -517,7 +517,7 @@ Directory and files operations
517517

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

522522
.. _shutil-platform-dependent-efficient-copy-operations:
523523

0 commit comments

Comments
 (0)