[Python-checkins] cpython (3.5): Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan

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


https://hg.python.org/cpython/rev/b1f3fe320adf
changeset: 100951:b1f3fe320adf
branch: 3.5
parent: 100949:605fde022b15
user: Martin Panter <vadmium+py at gmail.com>
date: Wed Apr 13 03:24:06 2016 +0000
summary:
 Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan
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

AltStyle によって変換されたページ (->オリジナル) /