[Python-checkins] r58854 - python/trunk/Doc/library/bz2.rst python/trunk/Doc/library/gzip.rst python/trunk/Doc/library/tarfile.rst python/trunk/Doc/library/zipfile.rst python/trunk/Doc/library/zlib.rst

mark.summerfield python-checkins at python.org
Mon Nov 5 10:22:49 CET 2007


Author: mark.summerfield
Date: Mon Nov  5 10:22:48 2007
New Revision: 58854

Modified:
   python/trunk/Doc/library/bz2.rst
   python/trunk/Doc/library/gzip.rst
   python/trunk/Doc/library/tarfile.rst
   python/trunk/Doc/library/zipfile.rst
   python/trunk/Doc/library/zlib.rst
Log:
Added cross-references between the various archive file formats.



Modified: python/trunk/Doc/library/bz2.rst
==============================================================================
--- python/trunk/Doc/library/bz2.rst	(original)
+++ python/trunk/Doc/library/bz2.rst	Mon Nov  5 10:22:48 2007
@@ -14,7 +14,10 @@
 It implements a complete file interface, one-shot (de)compression functions, and
 types for sequential (de)compression.
 
-Here is a resume of the features offered by the bz2 module:
+For other archive formats, see the :mod:`gzip`, :mod:`zipfile`, and
+:mod:`tarfile` modules.
+
+Here is a summary of the features offered by the bz2 module:
 
 * :class:`BZ2File` class implements a complete file interface, including
   :meth:`readline`, :meth:`readlines`, :meth:`writelines`, :meth:`seek`, etc;
@@ -32,9 +35,7 @@
 * One-shot (de)compression supported by :func:`compress` and :func:`decompress`
   functions;
 
-* Thread safety uses individual locking mechanism;
-
-* Complete inline documentation;
+* Thread safety uses individual locking mechanism.
 
 
 (De)compression of files

Modified: python/trunk/Doc/library/gzip.rst
==============================================================================
--- python/trunk/Doc/library/gzip.rst	(original)
+++ python/trunk/Doc/library/gzip.rst	Mon Nov  5 10:22:48 2007
@@ -15,6 +15,9 @@
 programs, such  as those produced by :program:`compress` and :program:`pack`,
 are not supported by this module.
 
+For other archive formats, see the :mod:`bz2`, :mod:`zipfile`, and
+:mod:`tarfile` modules.
+
 The module defines the following items:
 
 

Modified: python/trunk/Doc/library/tarfile.rst
==============================================================================
--- python/trunk/Doc/library/tarfile.rst	(original)
+++ python/trunk/Doc/library/tarfile.rst	Mon Nov  5 10:22:48 2007
@@ -13,10 +13,13 @@
 .. sectionauthor:: Lars Gustäbel <lars at gustaebel.de>
 
 
-The :mod:`tarfile` module makes it possible to read and create tar archives.
+The :mod:`tarfile` module makes it possible to read and write tar
+archives, including those using gzip or bz2 compression.
+(`.zip` files can be read and written using the :mod:`zipfile` module.)
+
 Some facts and figures:
 
-* reads and writes :mod:`gzip` and :mod:`bzip2` compressed archives.
+* reads and writes :mod:`gzip` and :mod:`bz2` compressed archives.
 
 * read/write support for the POSIX.1-1988 (ustar) format.
 

Modified: python/trunk/Doc/library/zipfile.rst
==============================================================================
--- python/trunk/Doc/library/zipfile.rst	(original)
+++ python/trunk/Doc/library/zipfile.rst	Mon Nov  5 10:22:48 2007
@@ -21,11 +21,13 @@
 This module does not currently handle ZIP files which have appended comments, or
 multi-disk ZIP files. It can handle ZIP files that use the ZIP64 extensions
 (that is ZIP files that are more than 4 GByte in size).  It supports decryption
-of encrypted files in ZIP archives, but it cannot currently create an encrypted
+of encrypted files in ZIP archives, but it currently cannot create an encrypted
 file.
 
-The available attributes of this module are:
+For other archive formats, see the :mod:`bz2`, :mod:`gzip`, and
+:mod:`tarfile` modules.
 
+The module defines the following items:
 
 .. exception:: BadZipfile
 

Modified: python/trunk/Doc/library/zlib.rst
==============================================================================
--- python/trunk/Doc/library/zlib.rst	(original)
+++ python/trunk/Doc/library/zlib.rst	Mon Nov  5 10:22:48 2007
@@ -19,6 +19,10 @@
 consult the zlib manual at http://www.zlib.net/manual.html for authoritative
 information.
 
+For reading and writing ``.gz`` files see the :mod:`gzip` module. For
+other archive formats, see the :mod:`bz2`, :mod:`zipfile`, and
+:mod:`tarfile` modules.
+
 The available exception and functions in this module are:
 
 


More information about the Python-checkins mailing list