[issue40982] copytree example in shutil
New submission from Alberto Torres Barrán <albertotb@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@python components: Documentation messages: 371535 nosy: Alberto Torres Barrán, docs@python priority: normal severity: normal status: open title: copytree example in shutil versions: Python 3.8 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40982> _______________________________________
Wansoo Kim <rladhkstn8@gmail.com> added the comment: Can I solve this issue? ---------- nosy: +ys19991 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40982> _______________________________________
Change by Zackery Spytz <zspytz@gmail.com>: ---------- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +23543 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24778 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue40982> _______________________________________
participants (3)
-
Alberto Torres Barrán
-
Wansoo Kim
-
Zackery Spytz