Commit 01f7ac3b authored by Brett Cannon's avatar Brett Cannon

Backport of fix for issue #25930

parent e4d65e3a
...@@ -1789,7 +1789,7 @@ features: ...@@ -1789,7 +1789,7 @@ features:
be raised; on Unix, the directory entry is removed but the storage allocated 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. 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 .. versionadded:: 3.3
The *dir_fd* argument. The *dir_fd* argument.
...@@ -2452,10 +2452,10 @@ features: ...@@ -2452,10 +2452,10 @@ features:
.. function:: unlink(path, *, dir_fd=None) .. function:: unlink(path, *, dir_fd=None)
Remove (delete) the file *path*. This function is identical to Remove (delete) the file *path*. This function is semantically
:func:`remove`; the ``unlink`` name is its traditional Unix identical to :func:`remove`; the ``unlink`` name is its
name. Please see the documentation for :func:`remove` for traditional Unix name. Please see the documentation for
further information. :func:`remove` for further information.
.. versionadded:: 3.3 .. versionadded:: 3.3
The *dir_fd* parameter. The *dir_fd* parameter.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment