diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-05-14 20:14:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 20:14:07 (GMT) |
commit | 7d8725ac6f3304677d71dabdb7c184e98a62d864 (patch) | |
tree | 4c19aee527e9afac150a03db903c0281f5ee9b6a /Doc | |
parent | fbe6a0988ff08aef29c4649527d5d620d77ca4a2 (diff) | |
download | cpython-7d8725ac6f3304677d71dabdb7c184e98a62d864.zip cpython-7d8725ac6f3304677d71dabdb7c184e98a62d864.tar.gz cpython-7d8725ac6f3304677d71dabdb7c184e98a62d864.tar.bz2 |
GH-74033: Drop deprecated `pathlib.Path` keyword arguments (#118793)
Remove support for supplying keyword arguments to `pathlib.Path()`. This
has been deprecated since Python 3.12.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.14.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 33a0f3e..27c985b 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -131,6 +131,8 @@ itertools pathlib ------- +* Remove support for passing additional keyword arguments to + :class:`pathlib.Path`. In previous versions, any such arguments are ignored. * Remove support for passing additional positional arguments to :meth:`pathlib.PurePath.relative_to` and :meth:`~pathlib.PurePath.is_relative_to`. In previous versions, any such |