https://github.com/python/cpython/commit/85591009d141274d5a59a5fb7807076cbe943c29
commit: 85591009d141274d5a59a5fb7807076cbe943c29
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-11-29T17:15:25+02:00
summary:

[3.14] Docs: Prepare for Sphinx 9 (GH-142057) (#142091)

Co-authored-by: Adam Turner <[email protected]>

files:
M Doc/howto/urllib2.rst
M Doc/library/socket.rst
M Doc/tools/extensions/glossary_search.py

diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index d79d1abe8d0577..4e77d2cb407f72 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -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.
 
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index bc89a3228f0ed9..782ea7d8fdaed2 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -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
 
diff --git a/Doc/tools/extensions/glossary_search.py 
b/Doc/tools/extensions/glossary_search.py
index 502b6cd95bcb94..bcda4b7b435593 100644
--- a/Doc/tools/extensions/glossary_search.py
+++ b/Doc/tools/extensions/glossary_search.py
@@ -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'],
             }
 
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to