We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
FunctionExpr
1 parent 5d3b40d commit 50a01b1Copy full SHA for 50a01b1
1 file changed
python/ql/lib/semmle/python/Exprs.qll
@@ -751,7 +751,7 @@ class Annotation extends Expr {
751
Annotation() {
752
this = any(AnnAssign a).getAnnotation()
753
or
754
- exists(Arguments args | args = any(FunctionExpr f).getArgs() |
+ exists(Arguments args |
755
this in [
756
args.getAnAnnotation(),
757
args.getAKwAnnotation(),
0 commit comments