qtil
advanced-security/qtil-python 0.0.3
Search

Predicate import_from_dot_in_init

Holds if f is an import of the form from .[...] import ... and the enclosing scope is an init module

Import path

import semmle.python.pointsto.Base
predicate import_from_dot_in_init(ImportExprNode f)