SIGN IN SIGN UP

[3.10] GH-95815: Document less specific error for os.remove (GH-99571) (#99639)

GH-95815: Document less specific error for os.remove (GH-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 GH-14262.
(cherry picked from commit 1cae31d26ba621f6b1f0656ad3d69a0236338bad)


Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
M
Miss Islington (bot) committed
101dfaedb202c5dc1d940bffc953ab1f9aa10bc7
Parent: ad47c7d
Committed by GitHub <noreply@github.com> on 11/21/2022, 11:05:32 AM