diff Modules/zlibmodule.c @ 37374:b068aee1dfb5 2.4

Patch #1459631: documnent zlib.Decompress.flush() length parameter. (backport from rev. 43525)
author Georg Brandl <georg@python.org>
date Sat, 01 Apr 2006 07:39:45 +0000
parents f13fc0c9a6b3
children 46599fc486e8
line wrap: on
line diff
--- a/Modules/zlibmodule.c	Sat Apr 01 07:33:22 2006 +0000
+++ b/Modules/zlibmodule.c	Sat Apr 01 07:39:45 2006 +0000
@@ -654,7 +654,9 @@
 }
 
 PyDoc_STRVAR(decomp_flush__doc__,
-"flush() -- Return a string containing any remaining decompressed data.\n"
+"flush( [length] ) -- Return a string containing any remaining\n"
+"decompressed data. length, if given, is the initial size of the\n"
+"output buffer.\n"
 "\n"
 "The decompressor object can no longer be used after this call.");