From 8a3a30718aae7eb3aea67e94c86888f81aa7a144 Mon Sep 17 00:00:00 2001 From: cuishuang Date: Wed, 29 Jul 2026 18:36:50 +0800 Subject: [PATCH] Fix ZstdDecompressor exception documentation --- Doc/library/compression.zstd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/compression.zstd.rst b/Doc/library/compression.zstd.rst index 6618ccf7d559e7..a9fc4fa4b8cc36 100644 --- a/Doc/library/compression.zstd.rst +++ b/Doc/library/compression.zstd.rst @@ -346,7 +346,7 @@ Compressing and decompressing data in memory will be set to ``True``. Attempting to decompress data after the end of a frame will raise a - :exc:`ZstdError`. Any data found after the end of the frame is ignored + :exc:`EOFError`. Any data found after the end of the frame is ignored and saved in the :attr:`~.unused_data` attribute. .. attribute:: eof