Lines Matching refs:BZ2File
21 * The :func:`.open` function and :class:`BZ2File` class for reading and
37 As with the constructor for :class:`BZ2File`, the *filename* argument can be
46 :class:`BZ2File` constructor.
48 For binary mode, this function is equivalent to the :class:`BZ2File`
49 constructor: ``BZ2File(filename, mode, compresslevel=compresslevel)``. In
53 For text mode, a :class:`BZ2File` object is created, and wrapped in an
66 .. class:: BZ2File(filename, mode='r', *, compresslevel=9)
89 :class:`BZ2File` provides all of the members specified by the
93 :class:`BZ2File` also provides the following method:
102 the :class:`BZ2File`, it may change the position of the underlying file
103 object (e.g. if the :class:`BZ2File` was constructed by passing a file
184 compressed streams, unlike :func:`decompress` and :class:`BZ2File`. If