Patch #1459631: documnent zlib.Decompress.flush() length parameter.

This commit is contained in:
Georg Brandl 2006-04-01 07:39:41 +00:00
parent dcfdae7d72
commit 22a9dc889d
2 changed files with 7 additions and 2 deletions

View file

@ -654,7 +654,9 @@ PyZlib_flush(compobject *self, PyObject *args)
}
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.");