mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #23688: Added support of arbitrary bytes-like objects and avoided
unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang Maier.
This commit is contained in:
parent
77d899726f
commit
bca63b362d
4 changed files with 56 additions and 8 deletions
|
@ -137,6 +137,10 @@ The module defines the following items:
|
|||
.. versionchanged:: 3.4
|
||||
Added support for the ``'x'`` and ``'xb'`` modes.
|
||||
|
||||
.. versionchanged:: 3.5
|
||||
Added support for writing arbitrary
|
||||
:term:`bytes-like objects <bytes-like object>`.
|
||||
|
||||
|
||||
.. function:: compress(data, compresslevel=9)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue