Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonGH-95815: Document less specific error for os.remove (pythonGH-…
…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 pythonGH-14262. (cherry picked from commit 1cae31d) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
- Loading branch information