[Python-checkins] [3.11] Remove stray reference to PEP-695 in the typing docs (#105655)
AlexWaygood
webhook-mailer at python.org
Sun Jun 11 12:10:59 EDT 2023
https://github.com/python/cpython/commit/f207b346d4ce4d4cd896e63e246ef4d18323ebeb
commit: f207b346d4ce4d4cd896e63e246ef4d18323ebeb
branch: 3.11
author: Alex Waygood <Alex.Waygood at Gmail.com>
committer: AlexWaygood <Alex.Waygood at Gmail.com>
date: 2023-06-11T17:10:49+01:00
summary:
[3.11] Remove stray reference to PEP-695 in the typing docs (#105655)
files:
M Doc/library/typing.rst
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
index 740f7aeab2126..321e592dcf86b 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
More information about the Python-checkins
mailing list