summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-05-10 15:53:46 (GMT)
committerGitHub <noreply@github.com>2024-05-10 15:53:46 (GMT)
commitf772d0d08af2beef53db1e076c864cbdf3f5bac9 (patch)
treef6d1ebda222e31b8f321fc0a007de4339bf3de9c /Misc
parent13d7cf997bc9c22cf67c42fd799413e8325e0039 (diff)
downloadcpython-f772d0d08af2beef53db1e076c864cbdf3f5bac9.zip
cpython-f772d0d08af2beef53db1e076c864cbdf3f5bac9.tar.gz
cpython-f772d0d08af2beef53db1e076c864cbdf3f5bac9.tar.bz2
GH-78707: Drop deprecated `pathlib.PurePath.[is_]relative_to()` arguments (#118780)
Remove support for supplying additional positional arguments to `PurePath.relative_to()` and `is_relative_to()`. This has been deprecated since Python 3.12.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2024-05-08-18-59-19.gh-issue-78707._Lz1sw.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-05-08-18-59-19.gh-issue-78707._Lz1sw.rst b/Misc/NEWS.d/next/Library/2024-05-08-18-59-19.gh-issue-78707._Lz1sw.rst
new file mode 100644
index 0000000..c73bab9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-05-08-18-59-19.gh-issue-78707._Lz1sw.rst
@@ -0,0 +1,3 @@
+Drop support for passing additional positional arguments to
+:meth:`pathlib.PurePath.relative_to` and
+:meth:`~pathlib.PurePath.is_relative_to`.