Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)

src/m/y/mython-HEAD/basil/lang/asdl/EscASDLHandler.py   mython(Download)
            print
        return ("Module",
                {"version" : self.handle(module_node.version),
                 "name" : self.handle(module_node.name)},
                [self.handle(dfn) for dfn in module_node.dfns])
    def handle_Type (self, type_node):
        if __DEBUG__:
            print "handle_Type():", type_node, type_node.__dict__
            print
        return ("Type", {"name" : self.handle(type_node.name)},
                [self.handle(type_node.value)])

src/m/y/mython-HEAD/basil/lang/asdl/PyASDLHandler.py   mython(Download)
        self.crnt_attrs = sum_node.attributes
        for type_node in sum_node.types:
            self.handle(type_node)
        self.crnt_attrs = []
        self.crnt_sum_name = None