diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-01-30 10:08:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 10:08:15 -0800 |
commit | d729c5c9d49df41d5986be7507b98cbec1b7349e (patch) | |
tree | e6f40a7724c84e6a30d2618d694d37a81fe98c74 | |
parent | ae3dea385ef382ebecb31a4eeef25756b5f54112 (diff) | |
download | cpython-git-d729c5c9d49df41d5986be7507b98cbec1b7349e.tar.gz |
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>
-rw-r--r-- | Doc/library/tarfile.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index aa28441658..7f57e00bbd 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -265,7 +265,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. |