Skip to content

Commit 6c0151c

Browse files
authored
Refer uu users to built-in alternative in codecs module
The uu module was deprecated in Python 3.11 and removed in Python 3.13, but uuencode/uudecode functionality is still available in the standard library by using the "uu" codec with codecs.encode and codecs.decode. Mention this in the remains of the "uu" module documentation.
1 parent 1fece44 commit 6c0151c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/library/uu.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ being deprecated in Python 3.11. The removal was decided in :pep:`594`.
1313

1414
The last version of Python that provided the :mod:`!uu` module was
1515
`Python 3.12 <https://docs.python.org/3.12/library/uu.html>`_.
16+
17+
Encoding and decoding can instead be achieved using :func:`codecs.encode`
18+
and :func:`codecs.decode`, specifying `"uu"` as the codec.

0 commit comments

Comments
 (0)