Did I find the right examples for you? yes no

All Samples(3)  |  Call(1)  |  Derive(2)  |  Import(0)

src/b/a/babbledrive-HEAD/generator-pydoctor/pydoctor/zopeinterface.py   babbledrive(Download)
class ZopeInterfaceFunction(model.Function):
    def docsources(self):
        for source in super(ZopeInterfaceFunction, self).docsources():
            yield source
        if not isinstance(self.parent, model.Class):

src/p/y/pydoctor-0.5/pydoctor/zopeinterface.py   pydoctor(Download)
class ZopeInterfaceFunction(model.Function):
    def docsources(self):
        for source in super(ZopeInterfaceFunction, self).docsources():
            yield source
        if not isinstance(self.parent, (model.Class, model.Module)):

src/p/y/pydoctor-0.5/pydoctor/test/test_formatting.py   pydoctor(Download)
        pack = model.Package(None, 'twisted', None)
        mod = model.Module(None, 'threadz', 'Woot\nYeah', pack)
        fun = model.Function(None, 'blat', 'HICKY HECK\nYEAH', mod)
        fun.argspec = [(), None, None, ()]
        out = sysw.getHTMLFor(fun)