Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d3615f

Browse files
authored
bpo-46130: [docs] Add anchor for whatsnew/3.10 type hint section (GH-30199)
This allows the title to be translated to other languages without linking problems.
1 parent da4b214 commit 3d3615f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/whatsnew/3.10.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ are added to enable the warning.
704704
705705
See :ref:`io-text-encoding` for more information.
706706
707+
.. _new-feat-related-type-hints:
707708
708709
New Features Related to Type Hints
709710
==================================
@@ -1429,7 +1430,7 @@ of types readily interpretable by type checkers.
14291430
typing
14301431
------
14311432
1432-
For major changes, see `New Features Related to Type Hints`_.
1433+
For major changes, see :ref:`new-feat-related-type-hints`.
14331434
14341435
The behavior of :class:`typing.Literal` was changed to conform with :pep:`586`
14351436
and to match the behavior of static type checkers specified in the PEP.

0 commit comments

Comments
 (0)