Skip to content

Commit 050dd39

Browse files
committed
Update the default compression level in a igzip.open docstring
1 parent 958d09e commit 050dd39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isal/igzip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def open(filename, mode="rb", compresslevel=_COMPRESS_LEVEL_TRADEOFF,
5757
5858
The mode argument can be "r", "rb", "w", "wb", "x", "xb", "a" or "ab" for
5959
binary mode, or "rt", "wt", "xt" or "at" for text mode. The default mode is
60-
"rb", and the default compresslevel is 9.
60+
"rb", and the default compresslevel is 2.
6161
6262
For binary mode, this function is equivalent to the GzipFile constructor:
6363
GzipFile(filename, mode, compresslevel). In this case, the encoding, errors

0 commit comments

Comments
 (0)