]> git.cworth.org Git - apitrace/blobdiff - specs/stdapi.py
Be more specific when invoking the interface methods.
[apitrace] / specs / stdapi.py
index 5ba621fff35ceb7e26df9d94d0d303240d77e68c..d9fd5455bbdf381d7dbcf008cc851f07f0a30764 100644 (file)
@@ -350,6 +350,14 @@ class Interface(Type):
             yield method
         raise StopIteration
 
+    def iterBaseMethods(self):
+        if self.base is not None:
+            for iface, method in self.base.iterBaseMethods():
+                yield iface, method
+        for method in self.methods:
+            yield self, method
+        raise StopIteration
+
 
 class Method(Function):