]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: point `uu` module users to the `"uu"` encoding (#153657)
authorOndřej Hošek <ondra.hosek@gmail.com>
Sat, 18 Jul 2026 19:46:16 +0000 (21:46 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2026 19:46:16 +0000 (21:46 +0200)
Co-authored-by: Stan Ulbrych <stan@python.org>
Doc/library/uu.rst

index 0636d180294d47488391bbf55aa74fda2795fdf6..cf6ec0fcef386d22ffdfd180a0c03cbff3c914ad 100644 (file)
@@ -11,5 +11,9 @@ This module is no longer part of the Python standard library.
 It was :ref:`removed in Python 3.13 <whatsnew313-pep594>` after
 being deprecated in Python 3.11.  The removal was decided in :pep:`594`.
 
+Encoding and decoding in the uu format can instead be achieved using
+:func:`codecs.encode` and :func:`codecs.decode`, specifying ``"uu"``
+as the encoding.
+
 The last version of Python that provided the :mod:`!uu` module was
 `Python 3.12 <https://docs.python.org/3.12/library/uu.html>`_.