Skip to content

Commit d7c368c

Browse files
committed
bpo-141127: Clarify os.symlink() documentation for argument order
1 parent 1697cb5 commit d7c368c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/os.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3869,9 +3869,9 @@ features:
38693869
.. versionadded:: 3.3
38703870

38713871

3872-
.. function:: symlink(src, dst, target_is_directory=False, *, dir_fd=None)
3872+
.. function:: symlink(target, link_name, target_is_directory=False, *, dir_fd=None)
38733873

3874-
Create a symbolic link pointing to *src* named *dst*.
3874+
Create a symbolic link pointing to *target* named *link_name*.
38753875

38763876
On Windows, a symlink represents either a file or a directory, and does not
38773877
morph to the target dynamically. If the target is present, the type of the

0 commit comments

Comments
 (0)