We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed3b867 commit 8f50912Copy full SHA for 8f50912
1 file changed
Doc/library/bz2.rst
@@ -65,6 +65,15 @@ Handling of compressed files is offered by the :class:`BZ2File` class.
65
Support for the :keyword:`with` statement was added.
66
67
68
+ .. note::
69
+
70
+ This class does not support input files containing multiple streams (such
71
+ as those produced by the :program:`pbzip2` tool). When reading such an
72
+ input file, only the first stream will be accessible. If you require
73
+ support for multi-stream files, consider using the third-party `bz2file
74
+ module <http://pypi.python.org/pypi/bz2file>`_ instead of this class.
75
76
77
.. method:: close()
78
79
Close the file. Sets data attribute :attr:`closed` to true. A closed file
0 commit comments