[Python-checkins] Fixed comment about pathlib.link_to: it was added in 3.8, not changed. (#21851)

Facundo Batista webhook-mailer at python.org
Thu Aug 13 16:34:04 EDT 2020


https://github.com/python/cpython/commit/a3eae43aeedb6e6a31adeab3c0c90961d05ab113
commit: a3eae43aeedb6e6a31adeab3c0c90961d05ab113
branch: master
author: Facundo Batista <facundo at taniquetil.com.ar>
committer: GitHub <noreply at github.com>
date: 2020-08-13T17:33:56-03:00
summary:

Fixed comment about pathlib.link_to: it was added in 3.8, not changed. (#21851)

files:
M Doc/library/pathlib.rst

diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst
index f705d15b8d4f1..04810f5204397 100644
--- a/Doc/library/pathlib.rst
+++ b/Doc/library/pathlib.rst
@@ -1134,7 +1134,7 @@ call fails (for example because the path doesn't exist).
 
    Create a hard link pointing to a path named *target*.
 
-   .. versionchanged:: 3.8
+   .. versionadded:: 3.8
 
 
 .. method:: Path.write_bytes(data)



More information about the Python-checkins mailing list