SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

GH-73991: Rework `pathlib.Path.rmtree()` into `delete()` (#122368)

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.)
B
Barney Gale committed
98dba73010e807e613b9400e8c4b411302498728
Parent: b5e142b
Committed by GitHub <noreply@github.com> on 8/7/2024, 12:34:44 AM