mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
[3.11] Remove stray reference to PEP-695 in the typing docs (#105655)
This commit is contained in:
parent
2ba8e6ac50
commit
f207b346d4
1 changed files with 3 additions and 4 deletions
|
@ -1458,10 +1458,9 @@ for creating generic types.
|
|||
Note that type variables can be *bound*, *constrained*, or neither, but
|
||||
cannot be both bound *and* constrained.
|
||||
|
||||
Created type variables may be explicitly marked covariant or contravariant by passing
|
||||
``covariant=True`` or ``contravariant=True``.
|
||||
By default, type variables are invariant.
|
||||
See :pep:`484` and :pep:`695` for more details.
|
||||
Type variables may be marked covariant or contravariant by passing
|
||||
``covariant=True`` or ``contravariant=True``. See :pep:`484` for more
|
||||
details. By default, type variables are invariant.
|
||||
|
||||
Bound type variables and constrained type variables have different
|
||||
semantics in several important ways. Using a *bound* type variable means
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue