Commit 38fe4dc4 authored by Martin Panter's avatar Martin Panter

Issue #23200: Document that max_length=0 is not supported

parent f8f66eb9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment