Skip to content

Commit 94b8701

Browse files
committed
More correct docstrings in isal_zlib
1 parent 5bd3bb2 commit 94b8701

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/isal/isal_zlib.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def compressobj(int level=ISAL_DEFAULT_COMPRESSION,
338338
no headers and trailers.
339339
:param memLevel: The amount of memory used for the internal compression
340340
state. Higher values use more memory for better speed and
341-
smaller output.
341+
smaller output. Values between 1 and 9 are supported.
342342
:zdict: A predefined compression dictionary. A sequence of bytes
343343
that are expected to occur frequently in the to be
344344
compressed data. The most common subsequences should come
@@ -443,8 +443,8 @@ cdef class Compress:
443443
444444
:param mode: Defaults to Z_FINISH which
445445
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.
448448
"""
449449

450450
if mode == zlib.Z_NO_FLUSH:

0 commit comments

Comments
 (0)