Skip to content

Commit 051528b

Browse files
Updated shutil.Error docstring as per feedback
1 parent 38eaae5 commit 051528b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/shutil.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,9 +515,9 @@ 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
520-
(*srcname*, *dstname*, *exception*). :exc:`!Error` is a subclass of :exc:`OSError`.
520+
(*srcname*, *dstname*, *exception*).
521521

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

0 commit comments

Comments
 (0)