We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3169743 commit 2dad979Copy full SHA for 2dad979
1 file changed
Doc/library/pathlib.rst
@@ -1535,6 +1535,8 @@ Creating files and directories
1535
as a directory if *target_is_directory* is true or a file symlink (the
1536
default) otherwise. On non-Windows platforms, *target_is_directory* is ignored.
1537
1538
+ If the link or/and the target already exist, :exc:`FileExistsError` is raised.
1539
+
1540
::
1541
1542
>>> p = Path('mylink')
0 commit comments