Skip to content

gh-113803: Fix inaccurate documentation for shutil.move when dst is an existing directory #113837

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

Merged
merged 4 commits into from
Feb 4, 2024

Conversation

daiwt
Copy link
Contributor

@daiwt daiwt commented Jan 9, 2024

@ghost
Copy link

ghost commented Jan 9, 2024

All commit authors signed the Contributor License Agreement.
CLA signed

@daiwt
Copy link
Contributor Author

daiwt commented Jan 30, 2024

Updated the doc and docstring in shutil.py. Do you think it is clear now? @serhiy-storchaka

@daiwt
Copy link
Contributor Author

daiwt commented Feb 1, 2024

Fixed dst and destinations in these paragraphs. @terryjreedy
Sorry that the timestamp on the commit (36485b5) is not correct. seems that the system clock on this device is somehow broken. Hope that won't be a problem.

@terryjreedy
Copy link
Member

I believe the last changes satisyfy my request and Serhiy's also, but I leave it to Serhiy to do a final check.

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@terryjreedy terryjreedy merged commit da8f9fb into python:main Feb 4, 2024
@miss-islington-app
Copy link

Thanks @daiwt for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 4, 2024
…t is an existing directory (pythonGH-113837)

* fix the usage of dst and destination in shutil.move doc
* update shutil.move doc
(cherry picked from commit da8f9fb)

Co-authored-by: Dai Wentao <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Feb 4, 2024

GH-115006 is a backport of this pull request to the 3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 4, 2024
…t is an existing directory (pythonGH-113837)

* fix the usage of dst and destination in shutil.move doc
* update shutil.move doc
(cherry picked from commit da8f9fb)

Co-authored-by: Dai Wentao <[email protected]>
@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Feb 4, 2024
@bedevere-app
Copy link

bedevere-app bot commented Feb 4, 2024

GH-115007 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Feb 4, 2024
terryjreedy pushed a commit that referenced this pull request Feb 4, 2024
…st is an existing directory (GH-113837) (#115006)

* fix the usage of dst and destination in shutil.move doc
* update shutil.move doc
(cherry picked from commit da8f9fb)

Co-authored-by: Dai Wentao <[email protected]>
terryjreedy pushed a commit that referenced this pull request Feb 4, 2024
…st is an existing directory (GH-113837) (#115007)

* fix the usage of dst and destination in shutil.move doc
* update shutil.move doc
(cherry picked from commit da8f9fb)

Co-authored-by: Dai Wentao <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…t is an existing directory (python#113837)

* fix the usage of dst and destination in shutil.move doc
* update shutil.move doc
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request Feb 14, 2024
…t is an existing directory (python#113837)

* fix the usage of dst and destination in shutil.move doc
* update shutil.move doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants