https://github.com/python/cpython/commit/1bb7995e5a4f1b775fdb1c9cd374d3af7fe88096
commit: 1bb7995e5a4f1b775fdb1c9cd374d3af7fe88096
branch: main
author: cui fliter <[email protected]>
committer: emmatyping <[email protected]>
date: 2026-08-13T19:47:17-07:00
summary:

Correct decompression exception in zstd documentation (#154864)

files:
M Doc/library/compression.zstd.rst

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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to