diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-11-21 11:05:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 11:05:32 (GMT) |
commit | 101dfaedb202c5dc1d940bffc953ab1f9aa10bc7 (patch) | |
tree | 355b697baf5dbc136d06f864b224908b91f4c702 /Python/Python-ast.c | |
parent | ad47c7d926a9f842a31247f4a15b5bb9f1566749 (diff) | |
download | cpython-101dfaedb202c5dc1d940bffc953ab1f9aa10bc7.zip cpython-101dfaedb202c5dc1d940bffc953ab1f9aa10bc7.tar.gz cpython-101dfaedb202c5dc1d940bffc953ab1f9aa10bc7.tar.bz2 |
[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>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions