Home
last modified time | relevance | path

Searched refs:__subclasses__ (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Lib/test/libregrtest/
Drefleak.py55 for obj in abc.__subclasses__() + [abc]:
176 for obj in abc.__subclasses__() + [abc]:
Druntest_mp.py523 to_add.extend(cls.__subclasses__())
/third_party/python/Tools/peg_generator/pegen/
Dvalidator.py49 for validator_cls in GrammarValidator.__subclasses__():
/third_party/python/Lib/
D_py_abc.py141 for scls in cls.__subclasses__():
Dfunctools.py760 for sub in typ.__subclasses__():
Dpydoc.py1343 (str(cls.__name__) for cls in type.__subclasses__(object)
/third_party/python/Lib/test/
Dtest_abc.py443 __subclasses__ = func variable in test_factory.TestABC.test_issubclass_bad_arguments.S
457 __subclasses__ = raise_exc variable in test_factory.TestABC.test_issubclass_bad_arguments.S
Dtest_descr.py856 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])
Dtest_ast.py685 expressions = [f" | {node.__doc__}" for node in ast.expr.__subclasses__()]
/third_party/python/Doc/library/
Dunittest.mock.rst2013 * ``__dir__``, ``__format__`` and ``__subclasses__``
2161 * ``__subclasses__``
Dstdtypes.rst5368 .. method:: class.__subclasses__
5374 >>> int.__subclasses__()
/third_party/python/Doc/c-api/
Dtypeobj.rst138 …ypeObject.tp_subclasses`] | :c:type:`PyObject` * | __subclasses__ | | | …
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst3460 Fix crash when an ``ABC``-derived class with invalid ``__subclasses__`` is