KEMBAR78
(🎁) Support `ParamSpec` and `Unpack` in `Generic` · Issue #16696 · python/mypy · GitHub
Skip to content

(🎁) Support ParamSpec and Unpack in Generic #16696

@KotlinIsland

Description

@KotlinIsland
from typing import Generic, ParamSpec, TypeVarTuple, Unpack

P = ParamSpec("P")
Ts = TypeVarTuple("Ts")


class C(Generic[P, Unpack[Ts]]): ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions