summaryrefslogtreecommitdiffstats
path: root/Python/context.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-13 17:19:24 (GMT)
committerGitHub <noreply@github.com>2021-05-13 17:19:24 (GMT)
commitc55ff1b352f8b82184f80d9dea220e832691acfc (patch)
treeacbf5da1b820a1125146625e2bb8509f29d410af /Python/context.c
parent0acdf255a51b836c0b44f3676797620322974af3 (diff)
downloadcpython-c55ff1b352f8b82184f80d9dea220e832691acfc.zip
cpython-c55ff1b352f8b82184f80d9dea220e832691acfc.tar.gz
cpython-c55ff1b352f8b82184f80d9dea220e832691acfc.tar.bz2
bpo-44098: Drop ParamSpec from most ``__parameters__`` in typing generics (GH-26013) (#26091)
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 (cherry picked from commit b2f3f8e3d81b0bb0ba18f563d82c28ba133c0790)
Diffstat (limited to 'Python/context.c')
0 files changed, 0 insertions, 0 deletions