SIGN IN SIGN UP

bpo-44098: Drop ParamSpec from most ``__parameters__`` in typing generics (GH-26013)

Added two new attributes to ``_GenericAlias``: 
* ``_typevar_types``, a single type or tuple of types indicating what types are treated as a ``TypeVar``. Used for ``isinstance`` checks.
* ``_paramspec_tvars ``, a boolean flag which guards special behavior for dealing with ``ParamSpec``. Setting it to ``True`` means this  class deals with ``ParamSpec``.

Automerge-Triggered-By: GH:gvanrossum
K
Ken Jin committed
b2f3f8e3d81b0bb0ba18f563d82c28ba133c0790
Parent: 7565586
Committed by GitHub <noreply@github.com> on 5/13/2021, 5:24:35 AM