]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Docs: Bump sphinx-lint and use double backticks for inline literals (GH-98441...
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Thu, 20 Oct 2022 13:07:33 +0000 (15:07 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Oct 2022 13:07:33 +0000 (06:07 -0700)
Bump sphinx-lint and use double backticks for inline literals

Doc/c-api/init.rst
Doc/library/asyncio-api-index.rst
Doc/library/pathlib.rst
Doc/library/subprocess.rst
Doc/requirements.txt

index 511d24da4fb7ff7eb949cf4d5898519a491eb742..55c05096ae91d060189d66020b5e99906f0b6fd8 100644 (file)
@@ -1800,7 +1800,7 @@ is not possible due to its implementation being opaque at build time.
 
    .. note::
       A freed key becomes a dangling pointer. You should reset the key to
-      `NULL`.
+      ``NULL``.
 
 
 Methods
index 54c1cd6582e4941f1e61032b0785a1adf31f7f48..ad475150fe7d9102120c4eedf8cd2ff469cf3631 100644 (file)
@@ -57,7 +57,7 @@ await on multiple things with timeouts.
       - Monitor for completion.
 
     * - :func:`timeout`
-      - Run with a timeout. Useful in cases when `wait_for` is not suitable.
+      - Run with a timeout. Useful in cases when ``wait_for`` is not suitable.
 
     * - :func:`to_thread`
       - Asynchronously run a function in a separate OS thread.
index 5012150b86cefa038d6eed9782ebe1ad2461cfbb..843513c5fc54ab1c406cf15e9b2129c1f638c33b 100644 (file)
@@ -391,7 +391,7 @@ Pure paths provide the following methods and properties:
 
       If you want to walk an arbitrary filesystem path upwards, it is
       recommended to first call :meth:`Path.resolve` so as to resolve
-      symlinks and eliminate `".."` components.
+      symlinks and eliminate ``".."`` components.
 
 
 .. data:: PurePath.name
index dee5bd879db5b5054156c2577fd425910a657e10..51b9e38b7b6ce916b5f9c1ff91271f39abb963e8 100644 (file)
@@ -829,7 +829,7 @@ Instances of the :class:`Popen` class have the following methods:
 
       On Windows, SIGTERM is an alias for :meth:`terminate`. CTRL_C_EVENT and
       CTRL_BREAK_EVENT can be sent to processes started with a *creationflags*
-      parameter which includes `CREATE_NEW_PROCESS_GROUP`.
+      parameter which includes ``CREATE_NEW_PROCESS_GROUP``.
 
 
 .. method:: Popen.terminate()
index 7f82dc32113a9d7924a5fb1cbe5e58697e1e1fbc..958665db69e2279a9c25caad7ddb185f8066aad1 100644 (file)
@@ -7,10 +7,7 @@ sphinx==4.5.0
 
 blurb
 
-# sphinx-lint 0.6.2 yields many default role errors due to the new regular
-# expression used for default role detection, so we don't use the version
-# until the errors are fixed.
-sphinx-lint==0.6.4
+sphinx-lint==0.6.7
 
 # The theme used by the documentation is stored separately, so we need
 # to install that as well.