[issue21554] Possible Error in Brief Tour of the Standard Library
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
[issue21554] Possible Error in Brief Tour of the Standard Library
R. David Murray added the comment: Yes, this is a recent enhancement and the example was not updated to match. -- nosy: +r.david.murray ___ 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
[issue21554] Possible Error in Brief Tour of the Standard Library
Changes by David Harrigan dharrigan...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file35318/stdlib.patch ___ 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
[issue21554] Possible Error in Brief Tour of the Standard Library
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: docs@python - rhettinger nosy: +rhettinger ___ 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
[issue21554] Possible Error in Brief Tour of the Standard Library
Roundup Robot added the comment: New changeset e07e347688a0 by Raymond Hettinger in branch '3.4': Issue 21554: Repair an out-of-date tutorial example to reflect changes in shutil. http://hg.python.org/cpython/rev/e07e347688a0 -- nosy: +python-dev ___ 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
[issue21554] Possible Error in Brief Tour of the Standard Library
Raymond Hettinger added the comment: Fixed. Thanks for the clear bug report. -- resolution: - fixed status: open - closed ___ 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