@@ -332,7 +332,7 @@ See :mod:`sys.monitoring` for details.
332
332
New Features Related to Type Hints
333
333
==================================
334
334
335
- This section covers major changes affecting :pep: `484 ` type hints and
335
+ This section covers major changes affecting :pep: `type hints < 484 >` and
336
336
the :mod: `typing ` module.
337
337
338
338
.. _whatsnew312-pep692 :
@@ -344,7 +344,7 @@ Typing ``**kwargs`` in a function signature as introduced by :pep:`484` allowed
344
344
for valid annotations only in cases where all of the ``**kwargs `` were of the
345
345
same type.
346
346
347
- This PEP specifies a more precise way of typing ``**kwargs `` by relying on
347
+ :pep: ` 692 ` specifies a more precise way of typing ``**kwargs `` by relying on
348
348
typed dictionaries::
349
349
350
350
from typing import TypedDict, Unpack
@@ -388,6 +388,8 @@ Example::
388
388
def get_colour(self) -> str:
389
389
return "red"
390
390
391
+ See :pep: `698 ` for more details.
392
+
391
393
(Contributed by Steven Troxler in :gh: `101561 `.)
392
394
393
395
.. _whatsnew312-pep695 :
@@ -433,8 +435,8 @@ parameters with bounds or constraints::
433
435
434
436
The value of type aliases and the bound and constraints of type variables
435
437
created through this syntax are evaluated only on demand (see
436
- :ref: `lazy-evaluation `). This means type aliases are able to refer to other
437
- types defined later in the file.
438
+ :ref: `lazy evaluation < lazy -evaluation> `). This means type aliases are able to
439
+ refer to other types defined later in the file.
438
440
439
441
Type parameters declared through a type parameter list are visible within the
440
442
scope of the declaration and any nested scopes, but not in the outer scope. For
0 commit comments