On Wed, Dec 22, 2021 at 10:18 AM Paul Bryan <pbryan@anode.ca> wrote:
If true, how would you write a callable where ParamSpec is an actual parameter?

ParamSpec can not be used in any other way. It is not a type, it is a magic thing that has special semantics. You cannot have something like

```
P = ParamSpec("P")

def foo(a: bool, p: P) -> str:
    ...
```

--
--Guido van Rossum (python.org/~guido)