Home
last modified time | relevance | path

Searched refs:GenericMeta (Results 1 – 3 of 3) sorted by relevance

/external/python/setuptools/setuptools/_vendor/
Dtyping_extensions.py14 GenericMeta = type variable
17 from typing import GenericMeta, _type_vars # noqa
333 class _ExtensionsGenericMeta(GenericMeta):
353 if isinstance(scls, GenericMeta):
473 assert isinstance(cls, GenericMeta)
705 class _ProtocolMeta(GenericMeta):
725 if (isinstance(base, GenericMeta) and
750 bases = tuple(_gorg(b) if isinstance(b, GenericMeta) else b
752 if any(isinstance(b, GenericMeta) and b is not typing.Generic for b in bases):
755 self = super(GenericMeta, cls).__new__(cls, name, bases, namespace,
[all …]
/external/python/typing/typing_extensions/
D__init__.py15 GenericMeta = type variable
18 from typing import GenericMeta, _type_vars # noqa
404 class _ExtensionsGenericMeta(GenericMeta):
424 if isinstance(scls, GenericMeta):
544 assert isinstance(cls, GenericMeta)
775 class _ProtocolMeta(GenericMeta):
795 if (isinstance(base, GenericMeta) and
820 bases = tuple(_gorg(b) if isinstance(b, GenericMeta) else b
822 if any(isinstance(b, GenericMeta) and b is not typing.Generic for b in bases):
825 self = super(GenericMeta, cls).__new__(cls, name, bases, namespace,
[all …]
/external/python/typing/typing_extensions/src/
Dtyping_extensions.py72 GenericMeta = type variable