Skip to content

Commit 7739943

Browse files
authored
Docs: Prepare for Sphinx 9 (python#142057)
1 parent 3c11738 commit 7739943

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
@@ -2095,11 +2095,8 @@ to sockets.
20952095
Accepts any real number, not only integer or float.
20962096

20972097

2098-
.. method:: socket.setsockopt(level, optname, value: int)
2099-
.. method:: socket.setsockopt(level, optname, value: buffer)
2100-
:noindex:
2101-
.. method:: socket.setsockopt(level, optname, None, optlen: int)
2102-
:noindex:
2098+
.. method:: socket.setsockopt(level, optname, value: int | Buffer)
2099+
socket.setsockopt(level, optname, None, optlen: int)
21032100

21042101
.. index:: pair: module; struct
21052102

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)