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.
This commit is contained in:
Rafael Fontenelle 2021-12-19 11:06:35 -03:00 committed by GitHub
parent da4b214304
commit 3d3615f41f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -704,6 +704,7 @@ are added to enable the warning.
See :ref:`io-text-encoding` for more information. See :ref:`io-text-encoding` for more information.
.. _new-feat-related-type-hints:
New Features Related to Type Hints New Features Related to Type Hints
================================== ==================================
@ -1429,7 +1430,7 @@ of types readily interpretable by type checkers.
typing typing
------ ------
For major changes, see `New Features Related to Type Hints`_. For major changes, see :ref:`new-feat-related-type-hints`.
The behavior of :class:`typing.Literal` was changed to conform with :pep:`586` The behavior of :class:`typing.Literal` was changed to conform with :pep:`586`
and to match the behavior of static type checkers specified in the PEP. and to match the behavior of static type checkers specified in the PEP.