mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-134538: Add link to shutil.rmtree example in function docs (GH-135540)
(cherry picked from commit e9b647dd30)
Co-authored-by: alexey semenyuk <alexsemenyuk88@gmail.com>
This commit is contained in:
parent
a93ff87375
commit
47ee2aedf1
1 changed files with 4 additions and 0 deletions
|
|
@ -327,6 +327,10 @@ Directory and files operations
|
|||
The deprecated *onerror* is similar to *onexc*, except that the third
|
||||
parameter it receives is the tuple returned from :func:`sys.exc_info`.
|
||||
|
||||
.. seealso::
|
||||
:ref:`shutil-rmtree-example` for an example of handling the removal
|
||||
of a directory tree that contains read-only files.
|
||||
|
||||
.. audit-event:: shutil.rmtree path,dir_fd shutil.rmtree
|
||||
|
||||
.. versionchanged:: 3.3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue