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 0051ba1 commit 651afafCopy full SHA for 651afaf
python/ql/lib/semmle/python/dataflow/new/internal/ImportResolution.qll
@@ -164,10 +164,6 @@ module ImportResolution {
164
)
165
}
166
167
- Module getModule(DataFlow::CfgNode node) {
168
- exists(ModuleValue mv |
169
- node.getNode().pointsTo(mv) and
170
- result = mv.getScope()
171
Module getModuleImportedByImportStar(ImportStar i) {
172
isPreferredModuleForName(result.getFile(), i.getImportedModuleName())
173
@@ -288,4 +284,5 @@ module ImportResolution {
288
284
289
285
290
286
287
+ Module getModule(DataFlow::CfgNode node) { node = getModuleReference(result) }
291
0 commit comments