Merge pull request #8195 from dhalbert/8.2.x-backport-8125-zlib-docs

8.2.x backport 8125 zlib docs
This commit is contained in:
Scott Shawcroft 2023-07-24 09:45:24 -07:00 committed by GitHub
commit db0a74bef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -48,9 +48,7 @@
//| (commonly used in zlib library and gzip archiver). Compression is not yet implemented."""
//|
//| def zlib_decompress(
//| data: bytes, wbits: Optional[int] = 0, bufsize: Optional[int] = 0
//| ) -> bytes:
//| def decompress(data: bytes, wbits: Optional[int] = 0, bufsize: Optional[int] = 0) -> bytes:
//| """Return decompressed *data* as bytes. *wbits* is DEFLATE dictionary window
//| size used during compression (8-15, the dictionary size is power of 2 of
//| that value). Additionally, if value is positive, *data* is assumed to be