@@ -665,7 +665,7 @@ through a simple assignment::
665665User-defined generics for parameter expressions are also supported via parameter
666666specification variables in the form ``[**P] ``. The behavior is consistent
667667with type variables' described above as parameter specification variables are
668- treated by the typing module as a specialized type variable. The one exception
668+ treated by the :mod: ` ! typing` module as a specialized type variable. The one exception
669669to this is that a list of types can be used to substitute a :class: `ParamSpec `::
670670
671671 >>> class Z[T, **P]: ... # T is a TypeVar; P is a ParamSpec
@@ -706,7 +706,7 @@ are intended primarily for static type checking.
706706
707707A user-defined generic class can have ABCs as base classes without a metaclass
708708conflict. Generic metaclasses are not supported. The outcome of parameterizing
709- generics is cached, and most types in the typing module are :term: `hashable ` and
709+ generics is cached, and most types in the :mod: ` ! typing` module are :term: `hashable ` and
710710comparable for equality.
711711
712712
@@ -2787,7 +2787,7 @@ types.
27872787Protocols
27882788---------
27892789
2790- The following protocols are provided by the typing module. All are decorated
2790+ The following protocols are provided by the :mod: ` ! typing` module. All are decorated
27912791with :func: `@runtime_checkable <runtime_checkable> `.
27922792
27932793.. class :: SupportsAbs
@@ -3531,7 +3531,7 @@ Deprecated aliases
35313531------------------
35323532
35333533This module defines several deprecated aliases to pre-existing
3534- standard library classes. These were originally included in the typing
3534+ standard library classes. These were originally included in the :mod: ` ! typing`
35353535module in order to support parameterizing these generic classes using ``[] ``.
35363536However, the aliases became redundant in Python 3.9 when the
35373537corresponding pre-existing classes were enhanced to support ``[] `` (see
@@ -3544,7 +3544,7 @@ interpreter for these aliases.
35443544
35453545If at some point it is decided to remove these deprecated aliases, a
35463546deprecation warning will be issued by the interpreter for at least two releases
3547- prior to removal. The aliases are guaranteed to remain in the typing module
3547+ prior to removal. The aliases are guaranteed to remain in the :mod: ` ! typing` module
35483548without deprecation warnings until at least Python 3.14.
35493549
35503550Type checkers are encouraged to flag uses of the deprecated types if the
0 commit comments