[docs] [issue21554] Possible Error in "Brief Tour of the Standard Library"

Erik Kusko report at bugs.python.org
Thu May 22 19:39:05 CEST 2014


New submission from Erik Kusko:

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.

----------
assignee: docs at python
components: Documentation
messages: 218904
nosy: Pitmaster, docs at python
priority: normal
severity: normal
status: open
title: Possible Error in "Brief Tour of the Standard Library"
type: enhancement
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21554>
_______________________________________


More information about the docs mailing list