Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Doc/library/pathlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1535,6 +1535,8 @@ Creating files and directories
as a directory if *target_is_directory* is true or a file symlink (the
default) otherwise. On non-Windows platforms, *target_is_directory* is ignored.

If the link or/and the target already exist, :exc:`FileExistsError` is raised.

::

>>> p = Path('mylink')
Expand Down
Loading