Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea23271

Browse files
authored
pythongh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (pythonGH-101424)
1 parentc1b1f51 commitea23271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Doc/library/tarfile.rst‎

Lines changed: 1 addition & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp