Skip to content

Commit 8559100

Browse files
[3.14] Docs: Prepare for Sphinx 9 (GH-142057) (#142091)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 612213c commit 8559100

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

Doc/howto/urllib2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Introduction
1515
You may also find useful the following article on fetching web resources
1616
with Python:
1717

18-
* `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml>`_
18+
* `Basic Authentication <https://web.archive.org/web/20201215133350/http://www.voidspace.org.uk/python/articles/authentication.shtml>`__
1919

2020
A tutorial on *Basic Authentication*, with examples in Python.
2121

Doc/library/socket.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,11 +2086,8 @@ to sockets.
20862086
:attr:`socket.type`.
20872087

20882088

2089-
.. method:: socket.setsockopt(level, optname, value: int)
2090-
.. method:: socket.setsockopt(level, optname, value: buffer)
2091-
:noindex:
2092-
.. method:: socket.setsockopt(level, optname, None, optlen: int)
2093-
:noindex:
2089+
.. method:: socket.setsockopt(level, optname, value: int | Buffer)
2090+
socket.setsockopt(level, optname, None, optlen: int)
20942091

20952092
.. index:: pair: module; struct
20962093

Doc/tools/extensions/glossary_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def process_glossary_nodes(
3838
rendered = app.builder.render_partial(definition)
3939
terms[term.lower()] = {
4040
'title': term,
41-
'body': rendered['html_body'],
41+
'body': rendered['fragment'],
4242
}
4343

4444

0 commit comments

Comments
 (0)