]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Docs: point `uu` module users to the `"uu"` encoding (GH-153657) (#154025)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 18 Jul 2026 19:54:21 +0000 (21:54 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2026 19:54:21 +0000 (19:54 +0000)
(cherry picked from commit a1d580430c81c298d267ec255d544d0fa1d197c4)

Co-authored-by: Ondřej Hošek <ondra.hosek@gmail.com>
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>`_.