File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,6 @@ inheriting from ``Generic[P]`` makes a class generic on
216
216
.. code-block ::
217
217
218
218
T = TypeVar("T")
219
- S = TypeVar("S")
220
219
P_2 = ParamSpec("P_2")
221
220
222
221
class X(Generic[T, P]):
@@ -300,7 +299,7 @@ evaluated in the same way.
300
299
301
300
.. code-block ::
302
301
303
- U = TypeVar("T ")
302
+ U = TypeVar("U ")
304
303
305
304
class Y(Generic[U, P]):
306
305
f: Callable[P, str]
@@ -577,7 +576,9 @@ Reference Implementation
577
576
578
577
The `Pyre <https://pyre-check.org/ >`_ type checker supports all of the behavior
579
578
described 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 >`_.
581
582
582
583
Rejected Alternatives
583
584
---------------------
You can’t perform that action at this time.
0 commit comments