From: Lakshya Upadhyaya Date: Tue, 13 Jan 2026 13:38:26 +0000 (+0530) Subject: gh-141045: Document that shutil.Error is a subclass of OSError (#141152) X-Git-Tag: v3.15.0a5~11^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a17b4a85a5b54cb0fbc57bc4af9b174d4cedfd;p=thirdparty%2FPython%2Fcpython.git gh-141045: Document that shutil.Error is a subclass of OSError (#141152) --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 3a4631e7c657..2c15fed8dd5e 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -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*).