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 | d47b99643b085957e246ce86495016e5c1558ebb (patch) | |
tree | 964ffe57c3bb830b97dc62e3fcaf8e23a25cf2cd /Doc | |
parent | 5892ab1b4a6e167f28bd99af6e4494b74fc2fe38 (diff) | |
download | cpython-d47b99643b085957e246ce86495016e5c1558ebb.zip cpython-d47b99643b085957e246ce86495016e5c1558ebb.tar.gz cpython-d47b99643b085957e246ce86495016e5c1558ebb.tar.bz2 |
Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/tarfile.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 019c685..e3d006e 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -79,8 +79,8 @@ Some facts and figures: for *name*. It is supposed to be at position 0. For modes ``'w:gz'``, ``'r:gz'``, ``'w:bz2'``, ``'r:bz2'``, :func:`tarfile.open` - accepts the keyword argument *compresslevel* to specify the compression level of - the file. + accepts the keyword argument *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` |