Skip to content

Commit 6b52d45

Browse files
committed
s/RuntimeError/ValueError/
1 parent 4d3c005 commit 6b52d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/compression.zstd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ Compressing and decompressing data in memory
258258
at higher compression levels.
259259

260260
If :attr:`last_mode` is not :attr:`FLUSH_FRAME`, a
261-
:exc:`RuntimeError` is raised as the compressor is not at the start of
261+
:exc:`ValueError` is raised as the compressor is not at the start of
262262
a frame. If the pledged size does not match the actual size of data
263263
provided to :meth:`~.compress`, future calls to :meth:`~.compress` or
264264
:meth:`flush` may raise :exc:`ZstdError` and the last chunk of data may

0 commit comments

Comments
 (0)