summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2022-05-10 19:31:41 (GMT)
committerGitHub <noreply@github.com>2022-05-10 19:31:41 (GMT)
commit07b34926d3090e50f9ecaa213c564f98fc9a5a93 (patch)
tree6db7d8984be1be91fc41af5579e9093b47fb17b3 /Misc
parentdde8a1668e0a6ad09634d0c701742c91da616497 (diff)
downloadcpython-07b34926d3090e50f9ecaa213c564f98fc9a5a93.zip
cpython-07b34926d3090e50f9ecaa213c564f98fc9a5a93.tar.gz
cpython-07b34926d3090e50f9ecaa213c564f98fc9a5a93.tar.bz2
gh-84131: Remove the deprecated pathlib.Path.link_to method. (#92505)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-05-08-19-21-14.gh-issue-84131.rG5kI7.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-05-08-19-21-14.gh-issue-84131.rG5kI7.rst b/Misc/NEWS.d/next/Library/2022-05-08-19-21-14.gh-issue-84131.rG5kI7.rst
new file mode 100644
index 0000000..4a930bd
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-05-08-19-21-14.gh-issue-84131.rG5kI7.rst
@@ -0,0 +1,3 @@
+The :class:`pathlib.Path` deprecated method ``link_to`` has been removed.
+Use 3.10's :meth:`~pathlib.Path.hardlink_to` method instead as its semantics
+are consistent with that of :meth:`~pathlib.Path.symlink_to`.