diff options
author | Martin Panter <vadmium> | 2015-09-09 01:01:13 (GMT) |
---|---|---|
committer | Martin Panter <vadmium> | 2015-09-09 01:01:13 (GMT) |
commit | bf19d169504823c258a9aae4bf61c8df9ff5987f (patch) | |
tree | e7c2737588806aeb3e4b46a0ca1beba7d8c31065 /Doc/library/zlib.rst | |
parent | 5558d4f2f89b86bb0aab35fff01c2b51f1013f33 (diff) | |
download | cpython-bf19d169504823c258a9aae4bf61c8df9ff5987f.zip cpython-bf19d169504823c258a9aae4bf61c8df9ff5987f.tar.gz cpython-bf19d169504823c258a9aae4bf61c8df9ff5987f.tar.bz2 |
Issue #23738: Document and test actual keyword parameter names
Also fix signature because os.utime(..., ns=None) is not allowed.
Diffstat (limited to 'Doc/library/zlib.rst')
-rw-r--r-- | Doc/library/zlib.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/zlib.rst b/Doc/library/zlib.rst index b178fe1..aea0e79 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. -.. function:: compressobj(level=-1, method=DEFLATED, wbits=15, memlevel=8, strategy=Z_DEFAULT_STRATEGY[, zdict]) +.. function:: compressobj(level=-1, 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. @@ -75,9 +75,9 @@ The available exception and functions in this module are: should be an integer from ``8`` to ``15``. Higher values give better compression, but use more memory. - *memlevel* controls the amount of memory used for internal compression state. - Valid values range from ``1`` to ``9``. Higher values using more memory, - but are faster and produce smaller output. + The *memLevel* argument controls the amount of memory used for the + internal compression state. Valid values range from ``1`` to ``9``. + Higher values use more memory, but are faster and produce smaller output. *strategy* is used to tune the compression algorithm. Possible values are ``Z_DEFAULT_STRATEGY``, ``Z_FILTERED``, and ``Z_HUFFMAN_ONLY``. |