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 1181779 + 622b326 commit c514282Copy full SHA for c514282
python/ql/lib/semmle/python/Patterns.qll
@@ -10,6 +10,7 @@ class Pattern extends Pattern_, AstNode {
10
override Scope getScope() { result = this.getCase().getScope() }
11
12
/** Gets the case statement containing this pattern */
13
+ pragma[nomagic]
14
Case getCase() { result.contains(this) }
15
16
override string toString() { result = "Pattern" }
0 commit comments