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 4d3c005 commit 6b52d45Copy full SHA for 6b52d45
Doc/library/compression.zstd.rst
@@ -258,7 +258,7 @@ Compressing and decompressing data in memory
258
at higher compression levels.
259
260
If :attr:`last_mode` is not :attr:`FLUSH_FRAME`, a
261
- :exc:`RuntimeError` is raised as the compressor is not at the start of
+ :exc:`ValueError` is raised as the compressor is not at the start of
262
a frame. If the pledged size does not match the actual size of data
263
provided to :meth:`~.compress`, future calls to :meth:`~.compress` or
264
:meth:`flush` may raise :exc:`ZstdError` and the last chunk of data may
0 commit comments