[docs] Possible bug in shutil docs for move() function

Karol Stępniewski bigfunlx at gmail.com
Sat Aug 31 02:17:48 CEST 2013


On page http://docs.python.org/2/library/shutil.html The fragment
below move(src,dst) function says:

> The destination directory must not already exist

However, the behavior of this function is that if the dst does not
exist (and is provided as directory, with os separator at the end) it
will raise an exception. IMHO it should be:

> The destination directory must already exist.

Best Regards,

More information about the docs mailing list