File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,7 +216,6 @@ inheriting from ``Generic[P]`` makes a class generic on
216216.. code-block ::
217217
218218 T = TypeVar("T")
219- S = TypeVar("S")
220219 P_2 = ParamSpec("P_2")
221220
222221 class X(Generic[T, P]):
@@ -300,7 +299,7 @@ evaluated in the same way.
300299
301300.. code-block ::
302301
303- U = TypeVar("T ")
302+ U = TypeVar("U ")
304303
305304 class Y(Generic[U, P]):
306305 f: Callable[P, str]
@@ -577,7 +576,9 @@ Reference Implementation
577576
578577The `Pyre <https://pyre-check.org/ >`_ type checker supports all of the behavior
579578described above. A reference implementation of the runtime components needed
580- for those uses is provided in the ``pyre_extensions `` module.
579+ for those uses is provided in the ``pyre_extensions `` module. A reference
580+ implementation for CPython can be found
581+ `here <https://github.com/python/cpython/pull/23702 >`_.
581582
582583Rejected Alternatives
583584---------------------
You can’t perform that action at this time.
0 commit comments