Lines Matching refs:Protocol
15 from typing import Generic, ClassVar, Final, final, Protocol
772 class Coordinate(Protocol):
777 class Point(Coordinate, Protocol):
785 class XAxis(Protocol):
788 class YAxis(Protocol):
792 class Position(XAxis, YAxis, Protocol):
796 class Proto(Protocol):
816 class HasCallProtocol(Protocol):
823 class P(Protocol):
845 class Empty(Protocol):
868 class BP(Protocol): pass
871 class P(C, Protocol):
874 class P(Protocol, C):
877 class P(BP, C, Protocol):
888 class P(Protocol): pass
901 class PG(Protocol[T]): pass
918 class P(Protocol):
935 class P1(Protocol):
940 class P2(P1, Protocol):
967 class P1(Protocol):
971 class P2(Protocol):
976 class P(P1, P2, Protocol):
1005 class P(Protocol):
1009 class PG(Protocol[T]):
1012 class BadP(Protocol):
1015 class BadPG(Protocol[T]):
1043 class PNonCall(Protocol):
1069 class P(Protocol):
1073 class PG(Protocol[T]):
1076 class BadP(Protocol):
1079 class BadPG(Protocol[T]):
1137 class P(Protocol):
1141 class PG(Protocol[T]):
1152 class P(Protocol[T]): pass
1170 class P(Protocol):
1173 class PM(Protocol):
1187 class P(Protocol):
1205 class P(Protocol):
1222 class P(Protocol):
1226 class PR(Protocol):
1248 class P(Protocol):
1268 class P(Protocol):
1281 class PR(Protocol[T, S]):
1284 class P(PR[int, T], Protocol[T]):
1301 class PR(Protocol, Generic[T, S]):
1304 class P(PR[int, str], Protocol):
1313 class P1(Protocol, Generic[T]):
1316 class P2(Generic[T], Protocol):
1320 class PSub(P1[str], Protocol):
1334 class P(Protocol[T]): pass
1359 class P(Protocol[T]): pass
1377 class P(Protocol[T, T]): pass
1379 class P(Protocol[int]): pass
1381 class P(Protocol[T], Protocol[S]): pass
1383 class P(typing.Mapping[T, S], Protocol[T]): pass
1389 class P(Protocol[T, S]): pass
1398 class P(Protocol[T, S]): pass
1408 class P(Protocol[T]): pass
1417 class PR(Protocol):
1420 class P(Protocol):
1426 class PG(Protocol[T]):
1448 class Proto(Protocol):
1458 class P(Protocol):
1486 class P(Protocol):
1498 class P(Protocol[T]):
1581 class Custom(collections.abc.Iterable, Protocol):
1596 class CustomProtocol(TestCase, Protocol):
1599 class CustomContextManager(typing.ContextManager, Protocol):
1603 class P(Protocol):
1610 class P(Protocol):
1745 self.assertEqual(repr(typing.Protocol[T]), 'typing.Protocol[~T]')
2045 List[typing.Protocol]