diff -r 136adbcefa5f Doc/library/zlib.rst --- a/Doc/library/zlib.rst Sun Jan 03 18:00:31 2016 -0800 +++ b/Doc/library/zlib.rst Sat Jan 30 20:46:15 2016 +0200 @@ -55,7 +55,7 @@ Raises the :exc:`error` exception if any error occurs. -.. function:: compressobj(level=-1, method=DEFLATED, wbits=15, memLevel=8, strategy=Z_DEFAULT_STRATEGY[, zdict]) +.. function:: compressobj(level=6, method=DEFLATED, wbits=15, memLevel=8, strategy=Z_DEFAULT_STRATEGY[, zdict]) Returns a compression object, to be used for compressing data streams that won't fit into memory at once.