summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-12-08 18:45:09 (GMT)
committerGitHub <noreply@github.com>2024-12-08 18:45:09 (GMT)
commit7f8ec523021427a5c1ab3ce0cdd6e4bb909f1dc5 (patch)
tree7939eb62c8eb50421ab9024e0d9b27c0e04bf90c /Python/errors.c
parent2367759212f609b8ddf3218003b3ccd8e72849ae (diff)
downloadcpython-7f8ec523021427a5c1ab3ce0cdd6e4bb909f1dc5.zip
cpython-7f8ec523021427a5c1ab3ce0cdd6e4bb909f1dc5.tar.gz
cpython-7f8ec523021427a5c1ab3ce0cdd6e4bb909f1dc5.tar.bz2
GH-127381: pathlib ABCs: remove `PathBase.unlink()` and `rmdir()` (#127736)
Virtual filesystems don't always make a distinction between deleting files and empty directories, and sometimes support deleting non-empty directories in a single operation. Here we remove `PathBase.unlink()` and `rmdir()`, leaving `_delete()` as the sole deletion method, now made abstract. I hope to drop the underscore prefix later on.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions