I had assumed ParamSpec was a type; Guido has corrected me on that.

On Wed, 2021-12-22 at 18:24 +0000, Eric Traut wrote:
@Paul, could you clarify what you mean? An example would be helpful.

Do you want to pass a ParamSpec object as an argument to the callable, treating it like a runtime object rather than a special form? If so, then you'd annotate it as `(ParamSpec) -> None`. Is that what you mean?

 -Eric
_______________________________________________
Typing-sig mailing list -- typing-sig@python.org
To unsubscribe send an email to typing-sig-leave@python.org
https://mail.python.org/mailman3/lists/typing-sig.python.org/
Member address: pbryan@anode.ca