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