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@python
components: Documentation
messages: 218904
nosy: Pitmaster, docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21554>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to