summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSam Ezeh <sam.z.ezeh@gmail.com>2022-11-26 17:57:05 (GMT)
committerGitHub <noreply@github.com>2022-11-26 17:57:05 (GMT)
commit78365b8e283c78e23725748500f48dd2c2ca1161 (patch)
tree3f6a48fa957262380ec71700e39737deb139f109 /Misc
parent7796d3179b71536dd1d2ca7fdbc1255bdb8cfb52 (diff)
downloadcpython-78365b8e283c78e23725748500f48dd2c2ca1161.zip
cpython-78365b8e283c78e23725748500f48dd2c2ca1161.tar.gz
cpython-78365b8e283c78e23725748500f48dd2c2ca1161.tar.bz2
gh-91078: Return None from TarFile.next when the tarfile is empty (GH-91850)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-04-23-03-46-37.gh-issue-91078.87-hkp.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-04-23-03-46-37.gh-issue-91078.87-hkp.rst b/Misc/NEWS.d/next/Library/2022-04-23-03-46-37.gh-issue-91078.87-hkp.rst
new file mode 100644
index 0000000..e05d5e2
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-04-23-03-46-37.gh-issue-91078.87-hkp.rst
@@ -0,0 +1 @@
+:meth:`TarFile.next` now returns ``None`` when called on an empty tarfile.