File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -812,6 +812,11 @@ Added negative indexing support to :attr:`PurePath.parents
812812< pathlib.PurePath.parents> `.
813813(Contributed by Yaroslav Pankovych in :issue:`21041 ` )
814814
815+ Added :meth:`Path.hardlink_to < pathlib.Path.hardlink_to> ` method that
816+ supersedes :meth:`~ pathlib.Path.link_to` . The new method has the same argument
817+ order as :meth:`~ pathlib.Path.symlink_to` .
818+ (Contributed by Barney Gale in :issue:`39950 ` .)
819+
815820platform
816821--------
817822
@@ -1150,6 +1155,10 @@ Deprecated
11501155
11511156 (Contributed by Jelle Zijlstra in :issue:`21574 ` .)
11521157
1158+ * :meth:`pathlib.Path.link_to` is deprecated and slated for removal in
1159+ Python 3.12 . Use :meth:`pathlib.Path.hardlink_to` instead.
1160+ (Contributed by Barney Gale in :issue:`39950 ` .)
1161+
11531162
11541163Removed
11551164====== =
You can’t perform that action at this time.
0 commit comments