Skip to content

[3.11] Remove stray reference to PEP-695 in the typing docs #105655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down