Skip to content

Commit f207b34

Browse files
authored
[3.11] Remove stray reference to PEP-695 in the typing docs (#105655)
1 parent 2ba8e6a commit f207b34

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Doc/library/typing.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,10 +1458,9 @@ for creating generic types.
14581458
Note that type variables can be *bound*, *constrained*, or neither, but
14591459
cannot be both bound *and* constrained.
14601460

1461-
Created type variables may be explicitly marked covariant or contravariant by passing
1462-
``covariant=True`` or ``contravariant=True``.
1463-
By default, type variables are invariant.
1464-
See :pep:`484` and :pep:`695` for more details.
1461+
Type variables may be marked covariant or contravariant by passing
1462+
``covariant=True`` or ``contravariant=True``. See :pep:`484` for more
1463+
details. By default, type variables are invariant.
14651464

14661465
Bound type variables and constrained type variables have different
14671466
semantics in several important ways. Using a *bound* type variable means

0 commit comments

Comments
 (0)