]> 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 7a233c1633b9df5d75a88d2417c34c5c9d837214..5fa4787a0c1dd5f5b551ee660403fb3422c91bf8 100644 (file)
@@ -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`