mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Docs: Prepare for Sphinx 9 (#142057)
This commit is contained in:
parent
3c117380ab
commit
77399436bf
3 changed files with 4 additions and 7 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -2095,11 +2095,8 @@ to sockets.
|
|||
Accepts any real number, not only integer or float.
|
||||
|
||||
|
||||
.. 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
|
||||
|
||||
|
|
|
|||
|
|
@ -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'],
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue