Home
last modified time | relevance | path

Searched refs:superclasses (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_baseexception.py43 superclasses = [] # Loop will insert base exception
64 superclasses.append((last_depth, last_exc))
66 while superclasses[-1][0] >= depth:
67 superclasses.pop()
68 self.assertTrue(issubclass(exc, superclasses[-1][1]),
70 superclasses[-1][1].__name__))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
H A DJSONBackend.cpp128 // We mostly fill those in by iterating over the superclasses of in run()
158 json::Array superclasses; in run() local
160 superclasses.push_back(SuperPair.first->getNameInitAsString()); in run()
161 obj["!superclasses"] = std::move(superclasses); in run()
168 // Add this def to the instance list for each of its superclasses. in run()
/third_party/python/Lib/test/test_importlib/
H A Dtest_abc.py27 superclasses = [] variable in InheritanceTests
30 self.superclasses = [getattr(self.abc, class_name)
41 assert self.subclasses or self.superclasses, self.__class__
51 # Test that the class inherits from the expected superclasses.
52 for superclass in self.superclasses:

Completed in 3 milliseconds