summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-01-30 18:10:26 (GMT)
committerGitHub <noreply@github.com>2023-01-30 18:10:26 (GMT)
commit6ec9f2d5b84143dc41edceb996d67c3f923eebaa (patch)
treed2749f89e1a687148f08b46027599d2d2384d8a6 /Doc/library
parent3bcb630e078464185f605d0613d9633624273f74 (diff)
downloadcpython-6ec9f2d5b84143dc41edceb996d67c3f923eebaa.zip
cpython-6ec9f2d5b84143dc41edceb996d67c3f923eebaa.tar.gz
cpython-6ec9f2d5b84143dc41edceb996d67c3f923eebaa.tar.bz2
gh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH-101424)
(cherry picked from commit ea232716d3de1675478db3a302629ba43194c967) Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/tarfile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst
index 6bfc9b5..96444d4 100644
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -276,7 +276,7 @@ be finalized; only the internally used file object will be closed. See the
.. versionadded:: 3.2
Added support for the context management protocol.
-.. class:: TarFile(name=None, mode='r', fileobj=None, format=DEFAULT_FORMAT, tarinfo=TarInfo, dereference=False, ignore_zeros=False, encoding=ENCODING, errors='surrogateescape', pax_headers=None, debug=0, errorlevel=0)
+.. class:: TarFile(name=None, mode='r', fileobj=None, format=DEFAULT_FORMAT, tarinfo=TarInfo, dereference=False, ignore_zeros=False, encoding=ENCODING, errors='surrogateescape', pax_headers=None, debug=0, errorlevel=1)
All following arguments are optional and can be accessed as instance attributes
as well.