X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fstdapi.py;h=d9fd5455bbdf381d7dbcf008cc851f07f0a30764;hb=4220b1bd2f3baccc2d4cbb63dda6413e093a2954;hp=5ba621fff35ceb7e26df9d94d0d303240d77e68c;hpb=2a2096442e6eb586bd39097b582cf54ddcdaaddb;p=apitrace diff --git a/specs/stdapi.py b/specs/stdapi.py index 5ba621f..d9fd545 100644 --- a/specs/stdapi.py +++ b/specs/stdapi.py @@ -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):