[3.12] gh-104935: typing: Fix interactions between @runtime_checkable and Generic (GH-104939)
#104941
+48
−3