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
shutil.copy documentation should clarify support for path-like objects #85812
Comments
In the 3.8.5 documentation for shutil.copy it says that "src and dst should be strings". However, the implementation doesn't seem to have any problem with path objects. |
JonatanSkogsfors
mannequin
added
docs
Documentation in the Doc dir
3.8
only security fixes
labels
Aug 27, 2020
copy uses copyfile and copymode. Both were updated to support path-like objects in #15141 . It makes sense to update copy's documentation too. |
tirkarthi
changed the title
Outdated shutil.copy documentation
shutil.copy documentation should clarify support for path-like objects
Aug 27, 2020
tirkarthi
added
type-bug
An unexpected behavior, bug, or error
3.9
only security fixes
3.10
only security fixes
labels
Aug 27, 2020
tirkarthi
changed the title
Outdated shutil.copy documentation
shutil.copy documentation should clarify support for path-like objects
Aug 27, 2020
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: