

def get_class():
    kls = (('taglib.' + SETTINGS.get('dictionary')) + '.tags')
    parts = kls.split('.')
    module = '.'.join(parts[:(- 1)])
    m = __import__(module)
    for comp in parts[1:]:
        m = getattr(m, comp)
    return m

dataset/ETHPy150Open SublimeText/ColdFusion/coldfusiontagcompletions.py get_class/original