Skip to content

Commit

Permalink
Doc: some rst linting. (GH-30149)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPalard authored Dec 17, 2021
1 parent 95a922b commit 62a0a2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Doc/c-api/apiabiversion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ See :ref:`stable` for a discussion of API and ABI stability across versions.
.. c:var:: const unsigned long Py_Version
The Python runtime version number encoded in a single constant integer, with
the same format as the c:macro:`PY_VERSION_HEX` macro.
the same format as the :c:macro:`PY_VERSION_HEX` macro.
This contains the Python version used at run time.

.. versionadded:: 3.11
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Standard names are defined for the following types:
The :term:`loader` which loaded the module. Defaults to ``None``.

This attribute is to match :attr:`importlib.machinery.ModuleSpec.loader`
as stored in the attr:`__spec__` object.
as stored in the :attr:`__spec__` object.

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

This attribute is to match :attr:`importlib.machinery.ModuleSpec.parent`
as stored in the attr:`__spec__` object.
as stored in the :attr:`__spec__` object.

.. note::
A future version of Python may stop setting this attribute by default.
Expand Down
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ The socket module now supports the address family
Victor Stinner.)

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


socketserver
Expand Down

0 comments on commit 62a0a2a

Please sign in to comment.