mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-134538: Add link to shutil.rmtree example in function docs (GH-135540)
Some checks are pending
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Some checks are pending
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
(cherry picked from commit e9b647dd30
)
Co-authored-by: alexey semenyuk <alexsemenyuk88@gmail.com>
This commit is contained in:
parent
3bfb7da3d7
commit
7e783e5574
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