Skip to content

Commit 62a0a2a

Browse files
authored
Doc: some rst linting. (GH-30149)
1 parent 95a922b commit 62a0a2a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Doc/c-api/apiabiversion.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ See :ref:`stable` for a discussion of API and ABI stability across versions.
6363
.. c:var:: const unsigned long Py_Version
6464
6565
The Python runtime version number encoded in a single constant integer, with
66-
the same format as the c:macro:`PY_VERSION_HEX` macro.
66+
the same format as the :c:macro:`PY_VERSION_HEX` macro.
6767
This contains the Python version used at run time.
6868

6969
.. versionadded:: 3.11

Doc/library/types.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Standard names are defined for the following types:
239239
The :term:`loader` which loaded the module. Defaults to ``None``.
240240

241241
This attribute is to match :attr:`importlib.machinery.ModuleSpec.loader`
242-
as stored in the attr:`__spec__` object.
242+
as stored in the :attr:`__spec__` object.
243243

244244
.. note::
245245
A future version of Python may stop setting this attribute by default.
@@ -264,7 +264,7 @@ Standard names are defined for the following types:
264264
:attr:`__name__` if the module is a package itself). Defaults to ``None``.
265265

266266
This attribute is to match :attr:`importlib.machinery.ModuleSpec.parent`
267-
as stored in the attr:`__spec__` object.
267+
as stored in the :attr:`__spec__` object.
268268

269269
.. note::
270270
A future version of Python may stop setting this attribute by default.

Doc/whatsnew/3.6.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ The socket module now supports the address family
14221422
Victor Stinner.)
14231423

14241424
New Linux constants ``TCP_USER_TIMEOUT`` and ``TCP_CONGESTION`` were added.
1425-
(Contributed by Omar Sandoval, issue:`26273`).
1425+
(Contributed by Omar Sandoval, :issue:`26273`).
14261426

14271427

14281428
socketserver

0 commit comments

Comments
 (0)