Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5138)

Side by Side Diff: Doc/library/bz2.rst

Issue 6715: xz compressor support
Patch Set: Created 1 year, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/archiving.rst ('k') | Doc/library/gzip.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :mod:`bz2` --- Support for :program:`bzip2` compression 1 :mod:`bz2` --- Support for :program:`bzip2` compression
2 ======================================================= 2 =======================================================
3 3
4 .. module:: bz2 4 .. module:: bz2
5 :synopsis: Interfaces for bzip2 compression and decompression. 5 :synopsis: Interfaces for bzip2 compression and decompression.
6 .. moduleauthor:: Gustavo Niemeyer <niemeyer@conectiva.com> 6 .. moduleauthor:: Gustavo Niemeyer <niemeyer@conectiva.com>
7 .. moduleauthor:: Nadeem Vawda <nadeem.vawda@gmail.com> 7 .. moduleauthor:: Nadeem Vawda <nadeem.vawda@gmail.com>
8 .. sectionauthor:: Gustavo Niemeyer <niemeyer@conectiva.com> 8 .. sectionauthor:: Gustavo Niemeyer <niemeyer@conectiva.com>
9 .. sectionauthor:: Nadeem Vawda <nadeem.vawda@gmail.com> 9 .. sectionauthor:: Nadeem Vawda <nadeem.vawda@gmail.com>
10 10
11 11
12 This module provides a comprehensive interface for compressing and 12 This module provides a comprehensive interface for compressing and
13 decompressing data using the bzip2 compression algorithm. 13 decompressing data using the bzip2 compression algorithm.
14
15 For related file formats, see the :mod:`gzip`, :mod:`lzma`, :mod:`zipfile`, and
16 :mod:`tarfile` modules.
17 14
18 The :mod:`bz2` module contains: 15 The :mod:`bz2` module contains:
19 16
20 * The :class:`BZ2File` class for reading and writing compressed files. 17 * The :class:`BZ2File` class for reading and writing compressed files.
21 * The :class:`BZ2Compressor` and :class:`BZ2Decompressor` classes for 18 * The :class:`BZ2Compressor` and :class:`BZ2Decompressor` classes for
22 incremental (de)compression. 19 incremental (de)compression.
23 * The :func:`compress` and :func:`decompress` functions for one-shot 20 * The :func:`compress` and :func:`decompress` functions for one-shot
24 (de)compression. 21 (de)compression.
25 22
26 All of the classes in this module may safely be accessed from multiple threads. 23 All of the classes in this module may safely be accessed from multiple threads.
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 Decompress *data*. 160 Decompress *data*.
164 161
165 If *data* is the concatenation of multiple compressed streams, decompress 162 If *data* is the concatenation of multiple compressed streams, decompress
166 all of the streams. 163 all of the streams.
167 164
168 For incremental decompression, use a :class:`BZ2Decompressor` instead. 165 For incremental decompression, use a :class:`BZ2Decompressor` instead.
169 166
170 .. versionchanged:: 3.3 167 .. versionchanged:: 3.3
171 Support for multi-stream inputs was added. 168 Support for multi-stream inputs was added.
172 169
OLDNEW
« no previous file with comments | « Doc/library/archiving.rst ('k') | Doc/library/gzip.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7