bpo-25007: Add copy protocol support to zlib compressors and decompressors (GH-7940)
diff --git a/Doc/library/zlib.rst b/Doc/library/zlib.rst
index 8a531c9..aa61278 100644
--- a/Doc/library/zlib.rst
+++ b/Doc/library/zlib.rst
@@ -231,6 +231,11 @@
compress a set of data that share a common initial prefix.
+.. versionchanged:: 3.8
+ Added :func:`copy.copy` and :func:`copy.deepcopy` support to compression
+ objects.
+
+
Decompression objects support the following methods and attributes:
@@ -298,6 +303,11 @@
seeks into the stream at a future point.
+.. versionchanged:: 3.8
+ Added :func:`copy.copy` and :func:`copy.deepcopy` support to decompression
+ objects.
+
+
Information about the version of the zlib library in use is available through
the following constants: