(self)
return level
The level parameter of ``__import__``.
The level parameter of ``__import__``.
The level parameter of __import__ .
def level(self):
        """The level parameter of ``__import__``."""
        level = 0
        for n in self.children[1:]:
            if n in ('.', '...'):
                level += len(n.value)
            else:
                break
        return level
def level ( self ) : level = 0 for n in self . children [ 1 : ] : if n in ( '.' , '...' ) : level += len ( n . value ) else : break return level