Open
Description
if not isinstance(generic, TypeVar) # type: ignore[unused-ignore, unreachable, redundant-expr, no-any-expr]
basedtyping/basedtyping/__init__.py
Line 286 in da37631
for generic in (
cls.__reified_generics__ if hasattr(cls, "__reified_generics__") else ()
)
# TODO: investigate this unreachable, redundant-expr
if not isinstance(generic, TypeVar) # type: ignore[unused-ignore, unreachable, redundant-expr, no-any-expr]
)
# normal generics use __parameters__, we use __type_vars__ because the Generic base class deletes properties