Searched refs:__subclasscheck__ (Results 1 – 4 of 4) sorted by relevance
11 return any(cls.__subclasscheck__(c)14 def __subclasscheck__(cls, sub): member in ABC35 self.assertEqual(Integer.__subclasscheck__(int), True)36 self.assertEqual(Integer.__subclasscheck__(float), False)79 def __subclasscheck__(self, cls): member in TypeChecksTest.test_oldstyle.X
438 def __subclasscheck__(cls, subclass): member in ExceptionTests.test_badisinstance.Meta
144 return cls.__subclasscheck__(subtype)145 return (cls.__subclasscheck__(subclass) or146 cls.__subclasscheck__(subtype))148 def __subclasscheck__(cls, subclass): member in ABCMeta