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

Miss Islington (bot) webhook-mailer at python.org
Thu Aug 13 16:43:57 EDT 2020


https://github.com/python/cpython/commit/e05f20b371ec8be939c0f79ef324dbc65bd56ecd
commit: e05f20b371ec8be939c0f79ef324dbc65bd56ecd
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-08-13T17:43:47-03:00
summary:

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

(cherry picked from commit a3eae43aeedb6e6a31adeab3c0c90961d05ab113)

Co-authored-by: Facundo Batista <facundo at taniquetil.com.ar>

files:
M Doc/library/pathlib.rst

diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst
index 6df352f0e3913..ebaedd835425c 100644
--- a/Doc/library/pathlib.rst
+++ b/Doc/library/pathlib.rst
@@ -1078,7 +1078,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