From 90ec0f2ee0f710cf5d46666556e21651f8d3727a Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Tue, 27 Jun 2023 17:14:24 +1000 Subject: [PATCH] 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 --- shared-bindings/zlib/__init__.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/shared-bindings/zlib/__init__.c b/shared-bindings/zlib/__init__.c index ba02914638..3b45e605e6 100644 --- a/shared-bindings/zlib/__init__.c +++ b/shared-bindings/zlib/__init__.c @@ -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