https://github.com/python/cpython/commit/28c7de6aa2b15ca9f6cd00fdec695bd28e9ba8ff commit: 28c7de6aa2b15ca9f6cd00fdec695bd28e9ba8ff branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2026-08-14T16:28:24+09:00 summary:
[3.15] Correct decompression exception in zstd documentation (GH-154864) (#155763) 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 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]
