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 ee3c6c7 commit b8c9213Copy full SHA for b8c9213
Doc/library/compression.zstd.rst
@@ -285,6 +285,13 @@ Compressing and decompressing data in memory
285
:meth:`~.compress` will be written into a new frame and
286
*cannot* reference past data.
287
288
+ .. attribute:: last_mode
289
+
290
+ The last mode passed to either :meth:`~.compress` or :meth:`~.flush`.
291
+ The value can be one of :attr:`~.CONTINUE`, :attr:`~.FLUSH_BLOCK`, or
292
+ :attr:`~.FLUSH_FRAME`. The initial value is :attr:`~.FLUSH_FRAME`,
293
+ signifying that the compressor is at the start of a new frame.
294
295
296
.. class:: ZstdDecompressor(zstd_dict=None, options=None)
297
0 commit comments