Skip to content
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

GH-119054: Add "Renaming and deleting" section to pathlib docs. #120465

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Jun 13, 2024

Add dedicated subsection for pathlib.Path.rename(), replace(), unlink() and rmdir().

When GH-73991 is resolved, this section will be retitled "Moving, copying and deleting" and include docs for move(), copy(), copytree() and rmtree().


📚 Documentation preview 📚: https://cpython-previews--120465.org.readthedocs.build/

Add dedicated subsection for `pathlib.Path.rename()`, `replace()`,
`unlink()` and `rmdir()`.

When pythonGH-73991 is resolved, this section will be retitled "Moving, copying
and deleting" and include docs for `move()`, `copy()`, `copytree()` and
`rmtree()`.
@barneygale barneygale added docs Documentation in the Doc dir topic-pathlib labels Jun 13, 2024
@barneygale barneygale changed the title Add "Renaming and deleting" section to pathlib docs. GH-119054: Add "Renaming and deleting" section to pathlib docs. Jun 13, 2024
@barneygale barneygale requested a review from hugovk June 13, 2024 19:24
@barneygale barneygale added needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes labels Jun 13, 2024
Doc/library/pathlib.rst Outdated Show resolved Hide resolved
@barneygale barneygale merged commit d88a1f2 into python:main Jun 13, 2024
25 checks passed
@miss-islington-app
Copy link

Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 13, 2024
…pythonGH-120465)

Add dedicated subsection for `pathlib.Path.rename()`, `replace()`,
`unlink()` and `rmdir()`.
(cherry picked from commit d88a1f2)

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

bedevere-app bot commented Jun 13, 2024

GH-120472 is a backport of this pull request to the 3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 13, 2024
…pythonGH-120465)

Add dedicated subsection for `pathlib.Path.rename()`, `replace()`,
`unlink()` and `rmdir()`.
(cherry picked from commit d88a1f2)

Co-authored-by: Barney Gale <[email protected]>
@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jun 13, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jun 13, 2024

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

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Jun 13, 2024
barneygale added a commit that referenced this pull request Jun 13, 2024
GH-120465) (#120473)

GH-119054: Add "Renaming and deleting" section to pathlib docs. (GH-120465)

Add dedicated subsection for `pathlib.Path.rename()`, `replace()`,
`unlink()` and `rmdir()`.
(cherry picked from commit d88a1f2)

Co-authored-by: Barney Gale <[email protected]>
barneygale added a commit that referenced this pull request Jun 13, 2024
GH-120465) (#120472)

GH-119054: Add "Renaming and deleting" section to pathlib docs. (GH-120465)

Add dedicated subsection for `pathlib.Path.rename()`, `replace()`,
`unlink()` and `rmdir()`.
(cherry picked from commit d88a1f2)

Co-authored-by: Barney Gale <[email protected]>
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
…python#120465)

Add dedicated subsection for `pathlib.Path.rename()`, `replace()`,
`unlink()` and `rmdir()`.
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…python#120465)

Add dedicated subsection for `pathlib.Path.rename()`, `replace()`,
`unlink()` and `rmdir()`.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…python#120465)

Add dedicated subsection for `pathlib.Path.rename()`, `replace()`,
`unlink()` and `rmdir()`.
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 topic-pathlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants