Skip to content

[3.13] GH-119054: Add "Creating files and directories" section to pathlib docs. (GH-120186)#120462

Merged
barneygale merged 1 commit intopython:3.13from
miss-islington:backport-c2d810b-3.13
Jun 13, 2024
Merged

[3.13] GH-119054: Add "Creating files and directories" section to pathlib docs. (GH-120186)#120462
barneygale merged 1 commit intopython:3.13from
miss-islington:backport-c2d810b-3.13

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Jun 13, 2024

Add dedicated subsection for pathlib.Path.touch(), mkdir(),
symlink_to() and hardlink_to(). Also note that open(), write_text()
and write_bytes() are often used to create files.

(cherry picked from commit c2d810b)

Co-authored-by: Barney Gale [email protected]
Co-authored-by: Hugo van Kemenade [email protected]


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

…lib docs. (pythonGH-120186)

Add dedicated subsection for `pathlib.Path.touch()`, `mkdir()`,
`symlink_to()` and `hardlink_to()`. Also note that `open()`, `write_text()`
and `write_bytes()` are often used to create files.

(cherry picked from commit c2d810b)

Co-authored-by: Barney Gale <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
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