diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-23 12:59:48 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-23 12:59:48 (GMT) |
commit | bca63b362d23f154a5ed7fe43e4146977bba181e (patch) | |
tree | 149fca58f15a3d6d4b38311f081f49976671074b /Doc/library/gzip.rst | |
parent | 77d899726f4f7c78757e4214c147e699b285a8a7 (diff) | |
download | cpython-bca63b362d23f154a5ed7fe43e4146977bba181e.zip cpython-bca63b362d23f154a5ed7fe43e4146977bba181e.tar.gz cpython-bca63b362d23f154a5ed7fe43e4146977bba181e.tar.bz2 |
Issue #23688: Added support of arbitrary bytes-like objects and avoided
unnecessary copying of memoryview in gzip.GzipFile.write().
Original patch by Wolfgang Maier.
Diffstat (limited to 'Doc/library/gzip.rst')
-rw-r--r-- | Doc/library/gzip.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst index 78536fa..5ea57b7 100644 --- a/Doc/library/gzip.rst +++ b/Doc/library/gzip.rst @@ -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) |