diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-04-13 03:24:06 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-04-13 03:24:06 (GMT) |
commit | 7f7c605f295059e582fb6e208b2a5ee242533042 (patch) | |
tree | c6dc9dfbd87017ff5eb271fd52774753a309ac06 /Doc | |
parent | a7a222fde79af10dcccbfbd30f24e41913b2473d (diff) | |
download | cpython-7f7c605f295059e582fb6e208b2a5ee242533042.zip cpython-7f7c605f295059e582fb6e208b2a5ee242533042.tar.gz cpython-7f7c605f295059e582fb6e208b2a5ee242533042.tar.bz2 |
Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan
Diffstat (limited to 'Doc')
-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 7a233c1..5fa4787 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -101,7 +101,7 @@ Some facts and figures: For modes ``'w:gz'``, ``'r:gz'``, ``'w:bz2'``, ``'r:bz2'``, ``'x:gz'``, ``'x:bz2'``, :func:`tarfile.open` accepts the keyword argument - *compresslevel* to specify the compression level of the file. + *compresslevel* (default ``9``) to specify the compression level of the file. For special purposes, there is a second format for *mode*: ``'filemode|[compression]'``. :func:`tarfile.open` will return a :class:`TarFile` |