8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17ac393 commit e9b647dCopy full SHA for e9b647d
Doc/library/shutil.rst
@@ -327,6 +327,10 @@ Directory and files operations
327
The deprecated *onerror* is similar to *onexc*, except that the third
328
parameter it receives is the tuple returned from :func:`sys.exc_info`.
329
330
+ .. seealso::
331
+ :ref:`shutil-rmtree-example` for an example of handling the removal
332
+ of a directory tree that contains read-only files.
333
+
334
.. audit-event:: shutil.rmtree path,dir_fd shutil.rmtree
335
336
.. versionchanged:: 3.3
0 commit comments