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

This commit is contained in:
Lakshya Upadhyaya 2026-01-13 19:08:26 +05:30 committed by GitHub
parent 103a384bfd
commit 95a17b4a85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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*).