void () { doTest("(c: (ParamSpec(\"P\")) -> int, ParamSpec(\"P\"), ParamSpec(\"P\")) -> None", """ from typing import Callable, ParamSpec P = ParamSpec('P') def func(c: Callable[P, int], *args: P.args, **kwargs: P.kwargs) -> None: ... expr = func """); }