summaryrefslogtreecommitdiffstats
path: root/Doc/library/gzip.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-03-23 12:59:48 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-03-23 12:59:48 (GMT)
commitbca63b362d23f154a5ed7fe43e4146977bba181e (patch)
tree149fca58f15a3d6d4b38311f081f49976671074b /Doc/library/gzip.rst
parent77d899726f4f7c78757e4214c147e699b285a8a7 (diff)
downloadcpython-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.rst4
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)