[3.14] Correct decompression exception in zstd documentation (GH-154864) (#155764)

emmatyping <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/58de03c4b2663fcbeed5185a575ca24a1055db3a
commit: 58de03c4b2663fcbeed5185a575ca24a1055db3a
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: emmatyping <[email protected]>
date: 2026-08-13T20:10:00-07:00
summary:

[3.14] Correct decompression exception in zstd documentation (GH-154864) (#155764)

Correct decompression exception in zstd documentation (GH-154864)
(cherry picked from commit 1bb7995e5a4f1b775fdb1c9cd374d3af7fe88096)

Co-authored-by: cui fliter <[email protected]>

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

diff --git a/Doc/library/compression.zstd.rst b/Doc/library/compression.zstd.rst
index 25459640f8e2e9..6cb9a16141b416 100644
--- a/Doc/library/compression.zstd.rst
+++ b/Doc/library/compression.zstd.rst
@@ -342,7 +342,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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.