]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-149634: Fix removed docs from `TarFile.tarfile` to `TarInfo.tarfile` (#149680)
authorsobolevn <mail@sobolevn.me>
Mon, 11 May 2026 15:03:57 +0000 (18:03 +0300)
committerGitHub <noreply@github.com>
Mon, 11 May 2026 15:03:57 +0000 (18:03 +0300)
Doc/deprecations/pending-removal-in-3.16.rst
Doc/whatsnew/3.13.rst
Misc/NEWS.d/next/Library/2026-05-10-14-10-00.gh-issue-149634.iT5cwC.rst

index a64212e38e61cb2d8621b03f43d56b8d617540e1..50450658d31440ec88c4882674a58570edf8a022 100644 (file)
@@ -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.
index f4489bfa1b74e85fe86cad75a5fc047fd2eb97c4..de5a37042a9203b71fd9ef495bb893531eef46dd 100644 (file)
@@ -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`.)
 
index 620b66f754f5b58d903fcaf54b291f3820eed1b9..73e8d73c36891ab20633ef33145d9328acba078b 100644 (file)
@@ -1 +1 @@
-Remove deprecated and unused :attr:`!tarfile.Tarfile.tarfile` attribute.
+Remove deprecated and unused :attr:`!tarfile.TarInfo.tarfile` attribute.