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.
2 parents fd5b889 + b17e74d commit 3006fa6Copy full SHA for 3006fa6
python/ql/lib/semmle/python/essa/Essa.qll
@@ -632,7 +632,8 @@ class DeletionDefinition extends EssaNodeDefinition {
632
*/
633
class ScopeEntryDefinition extends EssaNodeDefinition {
634
ScopeEntryDefinition() {
635
- this.getDefiningNode() = this.getSourceVariable().getScopeEntryDefinition() and
+ this.getDefiningNode() =
636
+ pragma[only_bind_out](this.getSourceVariable()).getScopeEntryDefinition() and
637
not this instanceof ImplicitSubModuleDefinition
638
}
639
0 commit comments