[issue2639] shutil.copyfile() documentation is vague
report at bugs.python.org
Tue Apr 15 18:24:44 CEST 2008
Roy Smith <roy at panix.com> added the comment:
Reading closer, I see that copy() has the shell-like semantics I was
expecting copyfile() to have. Perhaps the right fix is to include a note in
the copyfile() docs saying, "dst must be a file path; see also copy() for a
version which allows dst to be a directory".
It might also make sense to move copy() to the top of the list, because it
is the one which has the most shell-like semantics.
Tracker <report at bugs.python.org>
More information about the Python-bugs-list