diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-18 00:59:17 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-18 00:59:17 (GMT) |
commit | 38fe4dc4009394b71ee5cf80f50786c6dadd748d (patch) | |
tree | d55a6e692ee841c04a96a4137f8ce4d587a474e3 /Doc | |
parent | f8f66eb985c932414832c76fad862651a47471ec (diff) | |
download | cpython-38fe4dc4009394b71ee5cf80f50786c6dadd748d.zip cpython-38fe4dc4009394b71ee5cf80f50786c6dadd748d.tar.gz cpython-38fe4dc4009394b71ee5cf80f50786c6dadd748d.tar.bz2 |
Issue #23200: Document that max_length=0 is not supported
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/zlib.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/zlib.rst b/Doc/library/zlib.rst index 230fdfe..58fc31b0 100644 --- a/Doc/library/zlib.rst +++ b/Doc/library/zlib.rst @@ -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 |