mirror of
https://github.com/python/cpython.git
synced 2025-11-27 13:45:25 +00:00
Issue #23200: Document that max_length=0 is not supported
This commit is contained in:
parent
f8f66eb985
commit
38fe4dc400
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
:meth:`decompress` method. Some of the input data may be preserved in internal
|
||||||
buffers for later processing.
|
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
|
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
|
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
|
:attr:`unconsumed_tail`. This bytestring must be passed to a subsequent call to
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue