Lines Matching defs:DoubleP
7741 class DoubleP(Generic[P, P2]):
7744 B1 = DoubleP[P, P2]
7747 self.assertEqual(B1[[int, str], [bool]], DoubleP[[int, str], [bool]])
7748 self.assertEqual(B1[[], []], DoubleP[[], []])
7750 B2 = DoubleP[[int, str], P2]
7753 self.assertEqual(B2[[bool, bool]], DoubleP[[int, str], [bool, bool]])
7754 self.assertEqual(B2[[]], DoubleP[[int, str], []])
7756 B3 = DoubleP[P, [bool, bool]]
7759 self.assertEqual(B3[[int, str]], DoubleP[[int, str], [bool, bool]])
7760 self.assertEqual(B3[[]], DoubleP[[], [bool, bool]])
7762 B4 = DoubleP[[T, int], [bool, T2]]
7765 self.assertEqual(B4[str, float], DoubleP[[str, int], [bool, float]])
7767 B5 = DoubleP[[*Ts, int], [bool, T2]]
7771 DoubleP[[str, bytes, int], [bool, float]])
7773 B6 = DoubleP[[T, int], [bool, *Ts]]
7777 DoubleP[[str, int], [bool, bytes, float]])