]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Docs: Prepare for Sphinx 9 (GH-142057) (#142091)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 29 Nov 2025 15:15:25 +0000 (16:15 +0100)
committerGitHub <noreply@github.com>
Sat, 29 Nov 2025 15:15:25 +0000 (17:15 +0200)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/howto/urllib2.rst
Doc/library/socket.rst
Doc/tools/extensions/glossary_search.py

index d79d1abe8d05770ea10fdec026895d8cd1d82621..4e77d2cb407f726d04b3bae856310fec8d2711ea 100644 (file)
@@ -15,7 +15,7 @@ Introduction
     You may also find useful the following article on fetching web resources
     with Python:
 
-    * `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml>`_
+    * `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml>`__
 
         A tutorial on *Basic Authentication*, with examples in Python.
 
index bc89a3228f0ed9e56c01e84d7832b5972bdedd86..782ea7d8fdaed23b41f77cf57acae188a42bb166 100644 (file)
@@ -2086,11 +2086,8 @@ to sockets.
       :attr:`socket.type`.
 
 
-.. method:: socket.setsockopt(level, optname, value: int)
-.. method:: socket.setsockopt(level, optname, value: buffer)
-   :noindex:
-.. method:: socket.setsockopt(level, optname, None, optlen: int)
-   :noindex:
+.. method:: socket.setsockopt(level, optname, value: int | Buffer)
+            socket.setsockopt(level, optname, None, optlen: int)
 
    .. index:: pair: module; struct
 
index 502b6cd95bcb9459578bbdd2b56a3e1b7e3935c9..bcda4b7b4355935b3173c87a13cfeee3f001c7fa 100644 (file)
@@ -38,7 +38,7 @@ def process_glossary_nodes(
             rendered = app.builder.render_partial(definition)
             terms[term.lower()] = {
                 'title': term,
-                'body': rendered['html_body'],
+                'body': rendered['fragment'],
             }