Skip to content

Fix ZstdDecompressor exception documentation - #154864

Open
cuishuang wants to merge 1 commit into
python:mainfrom
cuishuang:fix_doc
Open

Fix ZstdDecompressor exception documentation#154864
cuishuang wants to merge 1 commit into
python:mainfrom
cuishuang:fix_doc

Conversation

@cuishuang

@cuishuang cuishuang commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

The documentation for compression.zstd.ZstdDecompressor.decompress() stated that calling the method after reaching the end of a frame raises ZstdError.

The implementation raises EOFError, which is also the behavior expected by the tests. Update the documentation to match the actual behavior.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33814341 | 📁 Comparing 8a3a307 against main (9ccd5bb)

  🔍 Preview build  

1 file changed
± library/compression.zstd.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status
Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants