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

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

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale 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)


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

…to pathlib 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.

Co-authored-by: Hugo van Kemenade <[email protected]>.
(cherry picked from commit c2d810b)

Co-authored-by: Barney Gale <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant