Skip to content

Commit 90ec0f2

Browse files
jimmodhalbert
authored andcommitted
shared-bindings/zlib: Fix docs for zlib.decompress.
The docs say the method is called `zlib_decompress` but should be just `decompress`. Signed-off-by: Jim Mussared <[email protected]>
1 parent 98bd9e5 commit 90ec0f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

shared-bindings/zlib/__init__.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@
4848
//| (commonly used in zlib library and gzip archiver). Compression is not yet implemented."""
4949
//|
5050

51-
//| def zlib_decompress(
52-
//| data: bytes, wbits: Optional[int] = 0, bufsize: Optional[int] = 0
53-
//| ) -> bytes:
51+
//| def decompress(data: bytes, wbits: Optional[int] = 0, bufsize: Optional[int] = 0) -> bytes:
5452
//| """Return decompressed *data* as bytes. *wbits* is DEFLATE dictionary window
5553
//| size used during compression (8-15, the dictionary size is power of 2 of
5654
//| that value). Additionally, if value is positive, *data* is assumed to be

0 commit comments

Comments
 (0)