'The level parameter of ``__import__``.'

@property
def level(self):

    level = 0
    for n in self.children[1:]:
        if (n in ('.', '...')):
            level += len(n.value)
        else:
            break
    return level
