Searched refs:__subclasses__ (Results 1 – 13 of 13) sorted by relevance
55 for obj in abc.__subclasses__() + [abc]:176 for obj in abc.__subclasses__() + [abc]:
523 to_add.extend(cls.__subclasses__())
49 for validator_cls in GrammarValidator.__subclasses__():
141 for scls in cls.__subclasses__():
760 for sub in typ.__subclasses__():
1343 (str(cls.__name__) for cls in type.__subclasses__(object)
443 __subclasses__ = func variable in test_factory.TestABC.test_issubclass_bad_arguments.S457 __subclasses__ = raise_exc variable in test_factory.TestABC.test_issubclass_bad_arguments.S
856 self.assertEqual(A.__subclasses__(), subclasses)3986 self.assertEqual(C2.__subclasses__(), [D])5666 self.assertEqual(B2.__subclasses__(), [C])5667 self.assertEqual(B1.__subclasses__(), [])5670 self.assertEqual(C.__subclasses__(), [B1])
685 expressions = [f" | {node.__doc__}" for node in ast.expr.__subclasses__()]
2013 * ``__dir__``, ``__format__`` and ``__subclasses__``2161 * ``__subclasses__``
5368 .. method:: class.__subclasses__5374 >>> int.__subclasses__()
138 …ypeObject.tp_subclasses`] | :c:type:`PyObject` * | __subclasses__ | | | …
3460 Fix crash when an ``ABC``-derived class with invalid ``__subclasses__`` is