Given that mv somefile.txt textfiles will happily move a file somefile.txt into a dir textfiles, one might expect move('somefile.txt', 'textfiles') to work, but the docs currently do not explain what a valid dest is. Could the docs be amended to make it explicit whether dest must be a file path, or whether any path is valid?
Given that
mv somefile.txt textfileswill happily move a filesomefile.txtinto a dirtextfiles, one might expectmove('somefile.txt', 'textfiles')to work, but the docs currently do not explain what a validdestis. Could the docs be amended to make it explicit whetherdestmust be a file path, or whether any path is valid?