Searched refs:SupportsInt (Results 1 – 4 of 4) sorted by relevance
1724 class SupportsInt(Protocol): class
1354 self.assertIsSubclass(int, typing.SupportsInt)1355 self.assertNotIsSubclass(str, typing.SupportsInt)1402 class C1(typing.SupportsInt):
1547 .. class:: SupportsInt
1337 :class:`typing.SupportsInt` are now ``Protocol`` subclasses.