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.
R
Ronald Oussoren committed
1cae31d26ba621f6b1f0656ad3d69a0236338bad
Parent: cdde29d
Committed by GitHub <noreply@github.com>
on 11/21/2022, 10:08:06 AM