parameters: (self)
return_statement: return level
docstring: The level parameter of ``__import__``.
docstring_summary: The level parameter of ``__import__``.
docstring_tokens: The level parameter of __import__ .
function: 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
function_tokens: def level ( self ) : level = 0 for n in self . children [ 1 : ] : if n in ( '.' , '...' ) : level += len ( n . value ) else : break return level