[Python-checkins] cpython (2.7): Issue #23200: Document that max_length=0 is not supported

martin.panter python-checkins at python.org
Tue Nov 17 21:59:10 EST 2015


https://hg.python.org/cpython/rev/106c49edbb12
changeset:   99196:106c49edbb12
branch:      2.7
user:        Martin Panter <vadmium+py at gmail.com>
date:        Wed Nov 18 00:59:17 2015 +0000
summary:
  Issue #23200: Document that max_length=0 is not supported

files:
  Doc/library/zlib.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/zlib.rst b/Doc/library/zlib.rst
--- a/Doc/library/zlib.rst
+++ b/Doc/library/zlib.rst
@@ -221,7 +221,7 @@
    :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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list