Skip to content

Commit 797e3c9

Browse files
[3.11] Docs: Fix Sphinx warnings in license.rst (#108142) (#108176)
(cherry picked by commit 4d43931) - Fix links to stdlib modules - Silence links to external functions
1 parent bc055a2 commit 797e3c9

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Doc/license.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ the verbatim comments from the original code::
351351
Sockets
352352
-------
353353

354-
The :mod:`socket` module uses the functions, :func:`getaddrinfo`, and
355-
:func:`getnameinfo`, which are coded in separate source files from the WIDE
354+
The :mod:`socket` module uses the functions, :c:func:`!getaddrinfo`, and
355+
:c:func:`!getnameinfo`, which are coded in separate source files from the WIDE
356356
Project, https://www.wide.ad.jp/. ::
357357

358358
Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -537,7 +537,7 @@ The :mod:`xmlrpc.client` module contains the following notice::
537537
test_epoll
538538
----------
539539

540-
The :mod:`test_epoll` module contains the following notice::
540+
The :mod:`!test.test_epoll` module contains the following notice::
541541

542542
Copyright (c) 2001-2006 Twisted Matrix Laboratories.
543543

@@ -842,7 +842,7 @@ and later releases derived from that, the Apache License v2 applies::
842842
expat
843843
-----
844844

845-
The :mod:`pyexpat` extension is built using an included copy of the expat
845+
The :mod:`pyexpat <xml.parsers.expat>` extension is built using an included copy of the expat
846846
sources unless the build is configured ``--with-system-expat``::
847847

848848
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ Doc/library/xml.sax.rst
160160
Doc/library/xmlrpc.client.rst
161161
Doc/library/xmlrpc.server.rst
162162
Doc/library/zlib.rst
163-
Doc/license.rst
164163
Doc/reference/compound_stmts.rst
165164
Doc/reference/datamodel.rst
166165
Doc/reference/expressions.rst

0 commit comments

Comments
 (0)