]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-141127: Clarify o?s.symlink() documentation for argument order (#141144)
authorChilla Kalyan <127284726+chillakalyan@users.noreply.github.com>
Sun, 9 Nov 2025 08:57:34 +0000 (14:27 +0530)
committerGitHub <noreply@github.com>
Sun, 9 Nov 2025 08:57:34 +0000 (09:57 +0100)
Doc/library/os.rst

index d31d0ce9c85e9ae0b2b18086cc6aab0185325737..dbc3c92c8798b5e13307e3572b1327c537ff1da0 100644 (file)
@@ -3873,6 +3873,9 @@ features:
 
    Create a symbolic link pointing to *src* named *dst*.
 
+   The *src* parameter refers to the target of the link (the file or directory being linked to),
+   and *dst* is the name of the link being created.
+
    On Windows, a symlink represents either a file or a directory, and does not
    morph to the target dynamically.  If the target is present, the type of the
    symlink will be created to match. Otherwise, the symlink will be created