Skip to content

Commit

Permalink
Fix :py:obj: warnings in NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jan 14, 2024
1 parent 1563fd6 commit 77e4966
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.10.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ class

Previously there was no way to check that without using private API. See the
`relevant issue in python/typing
<https://github.com/python/typing/issues/751>`
<https://github.com/python/typing/issues/751>`_.

..
Expand Down
4 changes: 2 additions & 2 deletions Misc/NEWS.d/3.12.0a2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,8 @@ Use the frame bound builtins when offering a name suggestion in
.. nonce: qtm-9T
.. section: Library
In :mod:`importlib._bootstrap`, enhance namespace package repr to `<module
'x' (namespace) from ['path']>`.
In :mod:`importlib._bootstrap`, enhance namespace package repr to ``<module
'x' (namespace) from ['path']>``.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.13.0a2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ their debugging to ``PYTHON_UOPS`` and ``PYTHON_LLTRACE``.
.. nonce: 11h6Mc
.. section: Core and Builtins
Speed up :obj:`Traceback` object creation by lazily compute the line number.
Speed up :class:`Traceback` object creation by lazily compute the line number.
Patch by Pablo Galindo

..
Expand Down
4 changes: 2 additions & 2 deletions Misc/NEWS.d/3.9.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2857,8 +2857,8 @@ Patch by Justin Blanchard.
Add formal support for UDPLITE sockets. Support was present before, but it
is now easier to detect support with ``hasattr(socket, 'IPPROTO_UDPLITE')``
and there are constants defined for each of the values needed:
:py:obj:`socket.IPPROTO_UDPLITE`, :py:obj:`UDPLITE_SEND_CSCOV`, and
:py:obj:`UDPLITE_RECV_CSCOV`. Patch by Gabe Appleton.
``socket.IPPROTO_UDPLITE``, ``UDPLITE_SEND_CSCOV``, and
``UDPLITE_RECV_CSCOV``. Patch by Gabe Appleton.

..
Expand Down
4 changes: 2 additions & 2 deletions Misc/NEWS.d/3.9.0b1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ Port :mod:`syslog` to multiphase initialization (:pep:`489`).
Reporting a specialised error message for invalid string prefixes, which was
introduced in :issue:`40246`, is being reverted due to backwards
compatibility concerns for strings that immediately follow a reserved
keyword without whitespace between them. Constructs like `bg="#d00" if clear
else"#fca"` were failing to parse, which is not an acceptable breakage on
keyword without whitespace between them. Constructs like ``bg="#d00" if clear
else"#fca"`` were failing to parse, which is not an acceptable breakage on
such short notice.

..
Expand Down

0 comments on commit 77e4966

Please sign in to comment.