SIGN IN SIGN UP

Support protocol checks for self-types in tuple types (#21535)

Fixes https://github.com/python/mypy/issues/21528

This fixes a regression caused by a typeshed PR exposing this missing
feature. The implementation is somewhat non-trivial, but I don't see a
simpler way to do it in a robust manner.
I
Ivan Levkivskyi committed
21e2859b7f7956f8587a172e517ce7b265edb563
Parent: e61adea
Committed by GitHub <noreply@github.com> on 5/22/2026, 11:20:59 AM