]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarify note in BZ2File docs about lack of multi-stream support (issue #1625).
authorNadeem Vawda <nadeem.vawda@gmail.com>
Sun, 5 Feb 2012 12:27:01 +0000 (14:27 +0200)
committerNadeem Vawda <nadeem.vawda@gmail.com>
Sun, 5 Feb 2012 12:27:01 +0000 (14:27 +0200)
Doc/library/bz2.rst

index 3ff227b34a40f984d003849b4165410db041910f..20dc765774d57846e35977074f9ba576ce5758e7 100644 (file)
@@ -72,8 +72,11 @@ Handling of compressed files is offered by the :class:`BZ2File` class.
       This class does not support input files containing multiple streams (such
       as those produced by the :program:`pbzip2` tool). When reading such an
       input file, only the first stream will be accessible. If you require
-      support for multi-stream files, consider using the third-party `bz2file
-      module <http://pypi.python.org/pypi/bz2file>`_ instead of this class.
+      support for multi-stream files, consider using the third-party
+      :mod:`bz2file` module (available from
+      `PyPI <http://pypi.python.org/pypi/bz2file>`_). This module provides a
+      backport of Python 3.3's :class:`BZ2File` class, which does support
+      multi-stream files.
 
 
    .. method:: close()