Skip to content
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: 4 additions & 3 deletions pep-0612.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ inheriting from ``Generic[P]`` makes a class generic on
.. code-block::

T = TypeVar("T")
S = TypeVar("S")
P_2 = ParamSpec("P_2")

class X(Generic[T, P]):
Expand Down Expand Up @@ -300,7 +299,7 @@ evaluated in the same way.

.. code-block::

U = TypeVar("T")
U = TypeVar("U")

class Y(Generic[U, P]):
f: Callable[P, str]
Expand Down Expand Up @@ -577,7 +576,9 @@ Reference Implementation

The `Pyre <https://pyre-check.org/>`_ type checker supports all of the behavior
described above. A reference implementation of the runtime components needed
for those uses is provided in the ``pyre_extensions`` module.
for those uses is provided in the ``pyre_extensions`` module. A reference
implementation for CPython can be found
`here <https://github.com/python/cpython/pull/23702>`_.

Rejected Alternatives
---------------------
Expand Down