-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-40982: Fix outdated copytree() "example" in the shutil docs #24778
bpo-40982: Fix outdated copytree() "example" in the shutil docs #24778
Conversation
It is not preferable to keep a copy of the implementation in the docs.
This PR is stale because it has been open for 30 days with no activity. |
@@ -470,42 +470,7 @@ file then shutil will silently fallback on using less efficient | |||
copytree example | |||
~~~~~~~~~~~~~~~~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this leaves the header dangling - it relates to the next example (not that the last modified like changes "Another example..." to "An example...", because the next one is now the first).
Thanks @ZackerySpytz for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
GH-32326 is a backport of this pull request to the 3.10 branch. |
GH-32327 is a backport of this pull request to the 3.9 branch. |
It is not preferable to keep a copy of the implementation in the
docs.
https://bugs.python.org/issue40982