Skip to content

Commit bb8984f

Browse files
[3.13] Docs: Prepare for Sphinx 9 (GH-142057) (#142092)
1 parent 342c9e0 commit bb8984f

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
@@ -1973,11 +1973,8 @@ to sockets.
19731973
:attr:`socket.type`.
19741974

19751975

1976-
.. method:: socket.setsockopt(level, optname, value: int)
1977-
.. method:: socket.setsockopt(level, optname, value: buffer)
1978-
:noindex:
1979-
.. method:: socket.setsockopt(level, optname, None, optlen: int)
1980-
:noindex:
1976+
.. method:: socket.setsockopt(level, optname, value: int | Buffer)
1977+
socket.setsockopt(level, optname, None, optlen: int)
19811978

19821979
.. index:: pair: module; struct
19831980

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)