summaryrefslogtreecommitdiffstats
path: root/Doc/library/zlib.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-06-25 19:43:05 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-06-25 19:43:05 (GMT)
commit95657cdd40dace0a8f62c50b3f0991b4ec9972fd (patch)
treebf466a0cc516e0292442c5db35c8e6c9fc92790a /Doc/library/zlib.rst
parent696c35e86bffea1f2bc6179a29e46416899e3de6 (diff)
downloadcpython-95657cdd40dace0a8f62c50b3f0991b4ec9972fd.zip
cpython-95657cdd40dace0a8f62c50b3f0991b4ec9972fd.tar.gz
cpython-95657cdd40dace0a8f62c50b3f0991b4ec9972fd.tar.bz2
Issue #26243: Only the level argument to zlib.compress() is keyword argument
now. The first argument is positional-only.
Diffstat (limited to 'Doc/library/zlib.rst')
-rw-r--r--Doc/library/zlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/zlib.rst b/Doc/library/zlib.rst
index 111fb9e..6d8a467 100644
--- a/Doc/library/zlib.rst
+++ b/Doc/library/zlib.rst
@@ -58,7 +58,7 @@ The available exception and functions in this module are:
Raises the :exc:`error` exception if any error occurs.
.. versionchanged:: 3.6
- Keyword arguments are now supported.
+ *level* is now supported as keyword arguments.
.. function:: compressobj(level=-1, method=DEFLATED, wbits=15, memLevel=8, strategy=Z_DEFAULT_STRATEGY[, zdict])