]> granicus.if.org Git - python/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 70e148398875fc95e18d77dac8671db69a2c3bd0..96e723bfe54c88db540a5d5d9d972d96cf760a85 100644 (file)
@@ -221,7 +221,7 @@ Decompression objects support the following methods, and two 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 string must be passed to a subsequent call to