summaryrefslogtreecommitdiffstats
path: root/Doc/library/cgi.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>2024-04-15 19:18:21 (GMT)
committerGitHub <noreply@github.com>2024-04-15 19:18:21 (GMT)
commiteb0bfb5910e5135505d2259efa90e0095c422efe (patch)
treebdd0da11640d2d9454539149bf18df8ddc936e4f /Doc/library/cgi.rst
parent6dfb7e1f2787f2a97e730cd259dde2246b0ba164 (diff)
downloadcpython-eb0bfb5910e5135505d2259efa90e0095c422efe.zip
cpython-eb0bfb5910e5135505d2259efa90e0095c422efe.tar.gz
cpython-eb0bfb5910e5135505d2259efa90e0095c422efe.tar.bz2
[3.12] Docs: add link roles with Sphinx extlinks (GH-117850) (#117910)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Doc/library/cgi.rst')
-rw-r--r--Doc/library/cgi.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/cgi.rst b/Doc/library/cgi.rst
index 295a601..1b78ee2 100644
--- a/Doc/library/cgi.rst
+++ b/Doc/library/cgi.rst
@@ -22,7 +22,7 @@
The :class:`FieldStorage` class can typically be replaced with
:func:`urllib.parse.parse_qsl` for ``GET`` and ``HEAD`` requests,
and the :mod:`email.message` module or
- `multipart <https://pypi.org/project/multipart/>`_ for ``POST`` and ``PUT``.
+ :pypi:`multipart` for ``POST`` and ``PUT``.
Most :ref:`utility functions <functions-in-cgi-module>` have replacements.
--------------
@@ -334,7 +334,7 @@ algorithms implemented in this module in other circumstances.
It can be replaced with the functionality in the :mod:`email` package
(e.g. :class:`email.message.EmailMessage`/:class:`email.message.Message`)
which implements the same MIME RFCs, or with the
- `multipart <https://pypi.org/project/multipart/>`__ PyPI project.
+ :pypi:`multipart` PyPI project.
.. function:: parse_header(string)