https://github.com/python/cpython/commit/95a17b4a85a5b54cb0fbc57bc4af9b174d4cedfd
commit: 95a17b4a85a5b54cb0fbc57bc4af9b174d4cedfd
branch: main
author: Lakshya Upadhyaya <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2026-01-13T19:08:26+05:30
summary:

gh-141045: Document that shutil.Error is a subclass of OSError (#141152)

files:
M Doc/library/shutil.rst

diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index 3a4631e7c657fe..2c15fed8dd5e4d 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*).
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to