Skip to content

Commit 6eb545a

Browse files
committed
fixup! Resolve reference warnings in whatsnew/3.5.rst
1 parent 0944f32 commit 6eb545a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/whatsnew/3.5.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ are declared in the annotations::
424424
return 'Hello ' + name
425425

426426
While these annotations are available at runtime through the usual
427-
:attr:`~object.__annotations__` attribute, *no automatic type checking happens
427+
:attr:`!__annotations__` attribute, *no automatic type checking happens
428428
at runtime*. Instead, it is assumed that a separate off-line type checker
429429
(e.g. `mypy <https://mypy-lang.org>`_) will be used for on-demand
430430
source code analysis.
@@ -936,7 +936,7 @@ methods to match the corresponding methods of :class:`str`.
936936
collections.abc
937937
---------------
938938

939-
The :meth:`Sequence.index() <collections.abc.MutableSequence.index>` method now
939+
The :meth:`!Sequence.index` method now
940940
accepts *start* and *stop* arguments to match the corresponding methods
941941
of :class:`tuple`, :class:`list`, etc.
942942
(Contributed by Devin Jeanpierre in :issue:`23086`.)

0 commit comments

Comments
 (0)