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
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 python#14262.
- Loading branch information