]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-95815: Document less specific error for os.remove (#99571)
authorRonald Oussoren <ronaldoussoren@mac.com>
Mon, 21 Nov 2022 10:08:06 +0000 (11:08 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Nov 2022 10:08:06 +0000 (11:08 +0100)
commit1cae31d26ba621f6b1f0656ad3d69a0236338bad
tree88eb9ebe9a72751547de8d6244aa1d3588a6e444
parentcdde29dde90947df9bac39c1d19479914fb3db09
GH-95815: Document less specific error for os.remove (#99571)

os.remove can raise PermissionError instead of IsADirectoryError,
when the object to be removed is a directory (in particular on
macOS).

This reverts a change done in #14262.
Doc/library/os.rst