Searched refs:SupportsIndex (Results 1 – 5 of 5) sorted by relevance
1764 class SupportsIndex(Protocol): class
1397 self.assertIsSubclass(int, typing.SupportsIndex)1398 self.assertNotIsSubclass(str, typing.SupportsIndex)
801 Add SupportsIndex protocol to the typing module to allow type checking to
1541 .. class:: SupportsIndex
1339 * New protocol class :class:`typing.SupportsIndex`.