pythran/types/types.py
def visit_Attribute(self, node):
        """ Compute typing for an attribute node. """
        obj, path = attr_to_path(node)
        # If no type is given, use a decltype
        if obj.isliteral():
            typename = pytype_to_ctype(obj.signature)
            self.result[node] = self.builder.NamedType(typename)
        else:
            path = '::'.join(map(cxxid, path)) + '{}'
            self.result[node] = self.builder.DeclType(path)
 Compute typing for an attribute node. 
Compute typing for an attribute node.
Compute typing for an attribute node .
def visit_Attribute(self, node):
        obj, path = attr_to_path(node)
        if obj.isliteral():
            typename = pytype_to_ctype(obj.signature)
            self.result[node] = self.builder.NamedType(typename)
        else:
            path = '::'.join(map(cxxid, path)) + '{}'
            self.result[node] = self.builder.DeclType(path)
def visit_Attribute ( self , node ) : obj , path = attr_to_path ( node ) if obj . isliteral ( ) : typename = pytype_to_ctype ( obj . signature ) self . result [ node ] = self . builder . NamedType ( typename ) else : path = '::' . join ( map ( cxxid , path ) ) + '{}' self . result [ node ] = self . builder . DeclType ( path )
Compute typing for an attribute node.
Compute typing for an attribute node .
""" Compute typing for an attribute node. """ # If no type is given, use a decltype
self
node