From 2eb503e4dde9c9b0443e799e02d55bc053ef1c64 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 18 Oct 2022 15:46:18 +0200 Subject: Doc: Found some remaining default roles. (GH-98392) --- Doc/c-api/init.rst | 2 +- Doc/library/asyncio-api-index.rst | 2 +- Doc/library/pathlib.rst | 2 +- Doc/library/subprocess.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 9b73833..afb1771 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -1933,7 +1933,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 diff --git a/Doc/library/asyncio-api-index.rst b/Doc/library/asyncio-api-index.rst index 54c1cd6..ad47515 100644 --- a/Doc/library/asyncio-api-index.rst +++ b/Doc/library/asyncio-api-index.rst @@ -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. diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 1375ce1..4e9ea39 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -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 diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index dee5bd8..51b9e38 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -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() -- cgit v0.12