Skip to content

Commit 8a3a307

Browse files
committed
Fix ZstdDecompressor exception documentation
1 parent 9ccd5bb commit 8a3a307

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/compression.zstd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ Compressing and decompressing data in memory
346346
will be set to ``True``.
347347

348348
Attempting to decompress data after the end of a frame will raise a
349-
:exc:`ZstdError`. Any data found after the end of the frame is ignored
349+
:exc:`EOFError`. Any data found after the end of the frame is ignored
350350
and saved in the :attr:`~.unused_data` attribute.
351351

352352
.. attribute:: eof

0 commit comments

Comments
 (0)