Lines Matching refs:My
2136 class My(Generic[P, T]):
2139 self.assertEqual(My.__parameters__, (P, T))
2141 C1 = My[[int, T2], Callable[P2, T2]]
2145 My[[int, str], Callable[[list[int], bytes], str]])
2147 C2 = My[[Callable[[T2], int], list[T2]], str]
2151 My[[Callable[[list[str]], int], list[list[str]]], str])
2153 C3 = My[[Callable[P2, T2], T2], T2]
2157 My[[Callable[[], int], int], int])
2159 My[[Callable[[str, bool], int], int], int])
2161 My[[Callable[[str, bool], int], int], int])
2163 C4 = My[[Callable[[int, *Ts, str], T2], T2], T2]
2167 My[[Callable[[int, bool, bytes, str], float], float], float])
2211 class My(enum.Enum):
2214 self.assertEqual(Literal[My.A].__args__, (My.A,))