[issue32247] shutil-copytree: Create dst folder only if it doesn't exist
Thomas Kluyver
report at bugs.python.org
Fri Dec 8 05:46:27 EST 2017
Thomas Kluyver <thomas at kluyver.me.uk> added the comment:
This is documented:
> The destination directory, named by dst, must not already exist
https://docs.python.org/3/library/shutil.html#shutil.copytree
I guess that avoids complications that might arise from merging a directory.
----------
nosy: +takluyver
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32247>
_______________________________________
More information about the Python-bugs-list
mailing list