diff options
author | Owain Davies <116417456+OTheDev@users.noreply.github.com> | 2023-01-30 17:56:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 17:56:33 (GMT) |
commit | ea232716d3de1675478db3a302629ba43194c967 (patch) | |
tree | 9c65e34457d4e03644826b82e72dd184eff0e38e | |
parent | c1b1f51cd1632f0b77dacd43092fb44ed5e053a9 (diff) | |
download | cpython-ea232716d3de1675478db3a302629ba43194c967.zip cpython-ea232716d3de1675478db3a302629ba43194c967.tar.gz cpython-ea232716d3de1675478db3a302629ba43194c967.tar.bz2 |
gh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH-101424)
-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 6e8baba..741d40d 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -279,7 +279,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. |