mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-25007: Add copy protocol support to zlib compressors and decompressors (GH-7940)
This commit is contained in:
parent
fbd7172325
commit
d2cbfffc84
5 changed files with 183 additions and 25 deletions
|
@ -231,6 +231,11 @@ Compression objects support the following methods:
|
|||
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 @@ Decompression objects support the following methods and attributes:
|
|||
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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue