[issue2639] shutil.copyfile() documentation is vague
Roy Smith
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>
<http://bugs.python.org/issue2639>
__________________________________
More information about the Python-bugs-list
mailing list