Message218904
In https://docs.python.org/3/tutorial/stdlib.html, there is an example:
>>> import shutil
>>> shutil.copyfile('data.db', 'archive.db')
>>> shutil.move('/build/executables', 'installdir')
Should it not be:
>>> import shutil
>>> shutil.copyfile('data.db', 'archive.db')
'archive.db'
>>> shutil.move('/build/executables', 'installdir')
'installdir'
? I am run under Windows, so I don't know if the behavior is different than under Linux. Under Windows the destination file and destination directory, respectively, are echoed to stdout. |
|
Date |
User |
Action |
Args |
2014-05-22 17:39:05 | Pitmaster | set | recipients:
+ Pitmaster, docs@python |
2014-05-22 17:39:05 | Pitmaster | set | messageid: <1400780345.53.0.941799194043.issue21554@psf.upfronthosting.co.za> |
2014-05-22 17:39:05 | Pitmaster | link | issue21554 messages |
2014-05-22 17:39:04 | Pitmaster | create | |
|