]> granicus.if.org Git - python/commitdiff
Backport of fix for issue #25930
authorBrett Cannon <brett@python.org>
Tue, 29 Dec 2015 01:30:32 +0000 (17:30 -0800)
committerBrett Cannon <brett@python.org>
Tue, 29 Dec 2015 01:30:32 +0000 (17:30 -0800)
Doc/library/os.rst

index 0cc9d9c1d3ec61ab00a7f7af5ad2766570f272b6..144d9b24c8ee6ef7eec99890de0ebceb64d63d31 100644 (file)
@@ -1789,7 +1789,7 @@ features:
    be raised; on Unix, the directory entry is removed but the storage allocated
    to the file is not made available until the original file is no longer in use.
 
-   This function is identical to :func:`unlink`.
+   This function is semantically identical to :func:`unlink`.
 
    .. versionadded:: 3.3
       The *dir_fd* argument.
@@ -2452,10 +2452,10 @@ features:
 
 .. function:: unlink(path, *, dir_fd=None)
 
-   Remove (delete) the file *path*.  This function is identical to
-   :func:`remove`; the ``unlink`` name is its traditional Unix
-   name.  Please see the documentation for :func:`remove` for
-   further information.
+   Remove (delete) the file *path*.  This function is semantically
+   identical to :func:`remove`; the ``unlink`` name is its
+   traditional Unix name.  Please see the documentation for
+   :func:`remove` for further information.
 
    .. versionadded:: 3.3
       The *dir_fd* parameter.