File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ def compressobj(int level=ISAL_DEFAULT_COMPRESSION,
338
338
no headers and trailers.
339
339
:param memLevel: The amount of memory used for the internal compression
340
340
state. Higher values use more memory for better speed and
341
- smaller output.
341
+ smaller output. Values between 1 and 9 are supported.
342
342
:zdict: A predefined compression dictionary. A sequence of bytes
343
343
that are expected to occur frequently in the to be
344
344
compressed data. The most common subsequences should come
@@ -443,8 +443,8 @@ cdef class Compress:
443
443
444
444
:param mode: Defaults to Z_FINISH which
445
445
finishes the compressed stream and prevents compressing
446
- any more data. The only other supported methods are
447
- Z_SYNC_FLUSH and Z_FULL_FLUSH.
446
+ any more data. The other supported methods are
447
+ Z_NO_FLUSH, Z_SYNC_FLUSH and Z_FULL_FLUSH.
448
448
"""
449
449
450
450
if mode == zlib.Z_NO_FLUSH:
You can’t perform that action at this time.
0 commit comments