[New-bugs-announce] [issue40982] copytree example in shutil

Alberto Torres Barrán report at bugs.python.org
Mon Jun 15 05:18:48 EDT 2020

New submission from Alberto Torres Barrán <albertotb at gmail.com>:

The copytree example in https://docs.python.org/3/library/shutil.html#copytree-example does not match the source code, even removing docstrings. In particular is missing parameters and the exceptions are in the wrong order (Error will never be reachable since it is n instance of OSError).

assignee: docs at python
components: Documentation
messages: 371535
nosy: Alberto Torres Barrán, docs at python
priority: normal
severity: normal
status: open
title: copytree example in shutil
versions: Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list