From: sobolevn Date: Mon, 11 May 2026 15:03:57 +0000 (+0300) Subject: gh-149634: Fix removed docs from `TarFile.tarfile` to `TarInfo.tarfile` (#149680) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a26b78c470ee69d3ac095899fdc85004b260145;p=thirdparty%2FPython%2Fcpython.git gh-149634: Fix removed docs from `TarFile.tarfile` to `TarInfo.tarfile` (#149680) --- diff --git a/Doc/deprecations/pending-removal-in-3.16.rst b/Doc/deprecations/pending-removal-in-3.16.rst index a64212e38e61..50450658d314 100644 --- a/Doc/deprecations/pending-removal-in-3.16.rst +++ b/Doc/deprecations/pending-removal-in-3.16.rst @@ -101,5 +101,5 @@ Pending removal in Python 3.16 * :mod:`tarfile`: - * The undocumented and unused :attr:`!TarFile.tarfile` attribute + * The undocumented and unused :attr:`!TarInfo.tarfile` attribute has been deprecated since Python 3.13. diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index f4489bfa1b74..de5a37042a92 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -1965,7 +1965,7 @@ New Deprecations * :mod:`tarfile`: - * Deprecate the undocumented and unused :attr:`!TarFile.tarfile` attribute, + * Deprecate the undocumented and unused :attr:`!TarInfo.tarfile` attribute, to be removed in Python 3.16. (Contributed in :gh:`115256`.) diff --git a/Misc/NEWS.d/next/Library/2026-05-10-14-10-00.gh-issue-149634.iT5cwC.rst b/Misc/NEWS.d/next/Library/2026-05-10-14-10-00.gh-issue-149634.iT5cwC.rst index 620b66f754f5..73e8d73c3689 100644 --- a/Misc/NEWS.d/next/Library/2026-05-10-14-10-00.gh-issue-149634.iT5cwC.rst +++ b/Misc/NEWS.d/next/Library/2026-05-10-14-10-00.gh-issue-149634.iT5cwC.rst @@ -1 +1 @@ -Remove deprecated and unused :attr:`!tarfile.Tarfile.tarfile` attribute. +Remove deprecated and unused :attr:`!tarfile.TarInfo.tarfile` attribute.