Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
the methods in this module take the class declarations created by
calling PXDParser.parse and generates a list of resolved class
declarations.  'resolved' means that all template parameters are
resolved and inherited methods are resolved from super classes.

some preliminaries which you should have in mind to understand the
code below:

in pxd files inheritance is declared with 'wrap-inherits'
annotations.  python class names are declared with 'wrap-instances'(more...)

src/a/u/autowrap-0.4.0/autowrap/__init__.py   autowrap(Download)
def parse(files, root):
    import DeclResolver
    return DeclResolver.resolve_decls_from_files(files, root)
 
def generate_code(decls, instance_map, target, debug, manual_code=None,