diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-07-10 04:07:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 04:07:35 (GMT) |
commit | 1577259cc51d0d46ad676798ce0a130039acf956 (patch) | |
tree | aa44697b7460159a142820809dc942ebdb510e6b /Modules | |
parent | bff66d0c3f3f39b81f9a8dc7a6159a3e373a7bf0 (diff) | |
download | cpython-1577259cc51d0d46ad676798ce0a130039acf956.zip cpython-1577259cc51d0d46ad676798ce0a130039acf956.tar.gz cpython-1577259cc51d0d46ad676798ce0a130039acf956.tar.bz2 |
bpo-43219: shutil.copyfile, raise a less confusing exception instead of IsADirectoryError (GH-27049)
Fixes the misleading IsADirectoryError to be FileNotFoundError.
(cherry picked from commit 248173cc0483a9ad9261353302f1234cf9eb2ebe)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions