]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-141045: Document that shutil.Error is a subclass of OSError (#141152)
authorLakshya Upadhyaya <lakshya.upadhyaya05@gmail.com>
Tue, 13 Jan 2026 13:38:26 +0000 (19:08 +0530)
committerGitHub <noreply@github.com>
Tue, 13 Jan 2026 13:38:26 +0000 (19:08 +0530)
Doc/library/shutil.rst

index 3a4631e7c657fe7d385f8ec4c08af15e9c52d6c4..2c15fed8dd5e4d7198b053e78658865cbe31f7cb 100644 (file)
@@ -515,7 +515,7 @@ Directory and files operations
 
 .. exception:: Error
 
-   This exception collects exceptions that are raised during a multi-file
+   Subclass of :exc:`OSError` collecting exceptions raised during a multi-file
    operation. For :func:`copytree`, the exception argument is a list of 3-tuples
    (*srcname*, *dstname*, *exception*).