mirror of https://github.com/python/cpython
98dba73010
Rename `pathlib.Path.rmtree()` to `delete()`, and add support for deleting non-directories. This simplifies the interface for users, and nicely complements the upcoming `move()` and `copy()` methods (which will also accept any type of file.) |
||
---|---|---|
.. | ||
__init__.py | ||
_abc.py | ||
_local.py | ||
_os.py |