https://github.com/python/cpython/commit/6a26b78c470ee69d3ac095899fdc85004b260145
commit: 6a26b78c470ee69d3ac095899fdc85004b260145
branch: main
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2026-05-11T18:03:57+03:00
summary:
gh-149634: Fix removed docs from `TarFile.tarfile` to `TarInfo.tarfile`
(#149680)
files:
M Doc/deprecations/pending-removal-in-3.16.rst
M Doc/whatsnew/3.13.rst
M Misc/NEWS.d/next/Library/2026-05-10-14-10-00.gh-issue-149634.iT5cwC.rst
diff --git a/Doc/deprecations/pending-removal-in-3.16.rst
b/Doc/deprecations/pending-removal-in-3.16.rst
index a64212e38e61cb..50450658d31440 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 f4489bfa1b74e8..de5a37042a9203 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 620b66f754f5b5..73e8d73c36891a 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.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]