We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a08253b commit f92d836Copy full SHA for f92d836
python/ql/lib/semmle/python/dataflow/new/internal/ImportResolution.qll
@@ -80,7 +80,7 @@ module ImportResolution {
80
)
81
or
82
exists(Alias a |
83
- defn.asExpr() = [a.getValue().(ImportExpr), a.getValue().(ImportMember).getModule()] and
+ defn.asExpr() = [a.getValue(), a.getValue().(ImportMember).getModule()] and
84
a.getAsname().(Name).getId() = name and
85
defn.getScope() = m
86
0 commit comments