CodeQL library for Python
codeql/python-all 2.2.0 (changelog, source)
Search

Member predicate ImportExpr_::getLevel

Gets the level of this import expression.

int getLevel()