third_party/xcbproto/src/xcbgen/matcher.py
def import_(node, module, namespace):
    '''
    For imports, we load the file, create a new namespace object,
    execute recursively, then record the import (for header files, etc.)
    '''
    # To avoid circular import error
    from xcbgen import state
    module.import_level = module.import_level + 1
    new_file = join(namespace.dir, '%s.xml' % node.text)
    new_root = parse(new_file).getroot()
    new_namespace = state.Namespace(new_file)
    execute(module, new_namespace)
    module.import_level = module.import_level - 1
    if not module.has_import(node.text):
        module.add_import(node.text, new_namespace)

    For imports, we load the file, create a new namespace object,
    execute recursively, then record the import (for header files, etc.)
    
For imports, we load the file, create a new namespace object,
execute recursively, then record the import (for header files, etc.)
For imports we load the file create a new namespace object execute recursively then record the import ( for header files etc . )
def import_(node, module, namespace):
    from xcbgen import state
    module.import_level = module.import_level + 1
    new_file = join(namespace.dir, '%s.xml' % node.text)
    new_root = parse(new_file).getroot()
    new_namespace = state.Namespace(new_file)
    execute(module, new_namespace)
    module.import_level = module.import_level - 1
    if not module.has_import(node.text):
        module.add_import(node.text, new_namespace)
def import_ ( node , module , namespace ) : from xcbgen import state module . import_level = module . import_level + 1 new_file = join ( namespace . dir , '%s.xml' % node . text ) new_root = parse ( new_file ) . getroot ( ) new_namespace = state . Namespace ( new_file ) execute ( module , new_namespace ) module . import_level = module . import_level - 1 if not module . has_import ( node . text ) : module . add_import ( node . text , new_namespace )
For imports, we load the file, create a new namespace object,
execute recursively, then record the import (for header files, etc.)
For imports we load the file create a new namespace object execute recursively then record the import ( for header files etc . )
'''
    For imports, we load the file, create a new namespace object,
    execute recursively, then record the import (for header files, etc.)
    ''' # To avoid circular import error
node
module
namespace