Skip to content

Commit 53ab0b5

Browse files
committed
Mention the compression sub-modules should be canonical
1 parent 2ce1316 commit 53ab0b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

peps/pep-0784.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ Other compression modules
220220
New import names ``compression.lzma``, ``compression.bz2``,
221221
``compression.gzip`` and ``compression.zlib`` will be introduced in Python 3.14
222222
re-exporting the contents of the existing ``lzma``, ``bz2``, ``gzip`` and
223-
``zlib`` modules respectively.
223+
``zlib`` modules respectively. The ``compression`` sub-modules will become
224+
the canonical import names going forward.
224225

225226
The ``_compression`` module, given that it is marked private, will be
226227
immediately renamed to ``compression._common.streams``. The new name was

0 commit comments

Comments
 (0)