Skip to content

Commit ab8cf5c

Browse files
committed
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 ab8cf5c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/library/uu.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ 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 in the uu format can instead be achieved using
18+
:func:`codecs.encode` and :func:`codecs.decode`, specifying :code:`"uu"`
19+
as the codec.

0 commit comments

Comments
 (0)