mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 23:31:05 +07:00
It should only be special cases for classes which *metaclasses* override `__or__` so that this notation is possible. Other type checkers treat such union of classes overriding __or__ in their metaclass as Unknown. (cherry picked from commit c16edee2346582745aa5090c3d8f568a4513afc1) IJ-CR-176451 (cherry picked from commit 4dfc125bcfc625d1fe5577695e9a75449f40594a) GitOrigin-RevId: 9f066646863ec321bcace0d2d10efe44a3c12728