You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error with ParamSpec when it is in a Union type #11152
Activity
erictraut commentedon Dec 4, 2025
I think pyright's behavior here is correct. The value of
Pgoes unsolved in your example.The correct way to annotate this function is with an overload.