Commit 5a62ac6
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>1 parent aa06786 commit 5a62ac6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2326 | 2326 | | |
2327 | 2327 | | |
2328 | 2328 | | |
2329 | | - | |
| 2329 | + | |
2330 | 2330 | | |
2331 | 2331 | | |
2332 | 2332 | | |
| |||
0 commit comments