[Python-checkins] cpython (merge 3.5 -> default): Issue #25496: Merge tarfile doc from 3.5

martin.panter python-checkins at python.org
Wed Apr 13 00:32:30 EDT 2016


https://hg.python.org/cpython/rev/a04455866ec7
changeset:   100952:a04455866ec7
parent:      100950:6ff020df61b8
parent:      100951:b1f3fe320adf
user:        Martin Panter <vadmium+py at gmail.com>
date:        Wed Apr 13 03:31:33 2016 +0000
summary:
  Issue #25496: Merge tarfile doc from 3.5

files:
  Doc/library/tarfile.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst
--- a/Doc/library/tarfile.rst
+++ b/Doc/library/tarfile.rst
@@ -101,7 +101,7 @@
 
    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`

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list