diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-06-11 16:10:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 16:10:49 (GMT) |
commit | f207b346d4ce4d4cd896e63e246ef4d18323ebeb (patch) | |
tree | bfa518ee3ff6e1cba5184d6e5e8f90a073e092d2 | |
parent | 2ba8e6ac5084a5e1964be7e44860a1421be2b63e (diff) | |
download | cpython-f207b346d4ce4d4cd896e63e246ef4d18323ebeb.zip cpython-f207b346d4ce4d4cd896e63e246ef4d18323ebeb.tar.gz cpython-f207b346d4ce4d4cd896e63e246ef4d18323ebeb.tar.bz2 |
[3.11] Remove stray reference to PEP-695 in the typing docs (#105655)
-rw-r--r-- | Doc/library/typing.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 740f7ae..321e592 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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 |