def resource_module(level = 2):
    module_name = sys._getframe(level).f_globals.get('__name__', '__main__')
    if '.' in module_name:
        module_name = '.'.join(module_name.split('.')[:-1])
    module = sys.modules.get(module_name)

    return module
Removes a child instance from the Tag's children.
dataset/ETHPy150Open enthought/pyface/pyface/resource/resource_path.py/resource_module--crossover with--dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/Tag.remove_child