Skip to content

Commit ea23271

Browse files
authoredJan 30, 2023
pythongh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (pythonGH-101424)
1 parent c1b1f51 commit ea23271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Doc/library/tarfile.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ be finalized; only the internally used file object will be closed. See the
279279
.. versionadded:: 3.2
280280
Added support for the context management protocol.
281281

282-
.. 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)
282+
.. 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)
283283

284284
All following arguments are optional and can be accessed as instance attributes
285285
as well.

0 commit comments

Comments
 (0)