Skip to content

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 only security fixes needs backport to 3.13 bugs and security fixes labels Jun 13, 2024
@barneygale barneygale merged commit d88a1f2 into python:main Jun 13, 2024
@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 <barney.gale@gmail.com>
@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 <barney.gale@gmail.com>
@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 only 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 <barney.gale@gmail.com>
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 <barney.gale@gmail.com>
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