Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Doc/library/shutil.rst
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,13 @@ Directory and files operations
.. versionadded:: 3.8
The *dirs_exist_ok* parameter.

.. versionchanged:: 3.8
The types of the arguments to the *ignore* callable have changed. The
first argument (the directory being visited) can be a string, a
func:`os.DirEntry` or a func:`pathlib.Path`; Previously it was a string.
The second argument is a set of strings; previously it was a list of
strings.

.. function:: rmtree(path, ignore_errors=False, onerror=None)

.. index:: single: directory; deleting
Expand Down