Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d30efe commit ff2b6b9Copy full SHA for ff2b6b9
1 file changed
python/ql/src/semmle/python/ApiGraphs.qll
@@ -422,7 +422,7 @@ module API {
422
*/
423
private predicate possible_builtin_defined_in_module(string name, Module m) {
424
exists(NameNode n |
425
- n.isGlobal() and
+ not exists(LocalVariable v | n.defines(v)) and
426
n.isStore() and
427
name = n.getId() and
428
name = builtin_name() and
0 commit comments