Merge pull request #8125 from jimmo/zlib-docs

shared-bindings/zlib: Fix docs for zlib.decompress.
This commit is contained in:
MicroDev 2023-06-28 08:30:58 +05:30 committed by GitHub
commit 25bacc3042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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