]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #23200: Document that max_length=0 is not supported
authorMartin Panter <vadmium+py@gmail.com>
Wed, 18 Nov 2015 00:59:17 +0000 (00:59 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 18 Nov 2015 00:59:17 +0000 (00:59 +0000)
Doc/library/zlib.rst

index 230fdfed4ac428cb1d935e3f9e2f1f4f7dd4e4a5..58fc31b095289ceb5f90cd89ca2eff2cbd555294 100644 (file)
@@ -230,7 +230,7 @@ Decompression objects support the following methods and attributes:
    :meth:`decompress` method.  Some of the input data may be preserved in internal
    buffers for later processing.
 
-   If the optional parameter *max_length* is supplied then the return value will be
+   If the optional parameter *max_length* is non-zero then the return value will be
    no longer than *max_length*. This may mean that not all of the compressed input
    can be processed; and unconsumed data will be stored in the attribute
    :attr:`unconsumed_tail`. This bytestring must be passed to a subsequent call to