File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ are declared in the annotations::
424424 return 'Hello ' + name
425425
426426While 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
428428at 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
430430source code analysis.
@@ -936,7 +936,7 @@ methods to match the corresponding methods of :class:`str`.
936936collections.abc
937937---------------
938938
939- The :meth: `Sequence.index() <collections.abc.MutableSequence.index> ` method now
939+ The :meth: `! Sequence.index ` method now
940940accepts *start * and *stop * arguments to match the corresponding methods
941941of :class: `tuple `, :class: `list `, etc.
942942(Contributed by Devin Jeanpierre in :issue: `23086 `.)
You can’t perform that action at this time.
0 commit comments