]> granicus.if.org Git - python/commitdiff
Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan
authorMartin Panter <vadmium+py@gmail.com>
Wed, 13 Apr 2016 03:24:06 +0000 (03:24 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 13 Apr 2016 03:24:06 +0000 (03:24 +0000)
Doc/library/tarfile.rst

index 019c6850dadc8739d7df01008614f5a95dabb11f..e3d006e54264dafc68b023e0a2e8fadd58663776 100644 (file)
@@ -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`