Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b665f54

Browse files
committed
Corrects query to use builtin instead of special
1 parent 3b45fbc commit b665f54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python/ql/src/Expressions/UseofApply.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ private import semmle.python.types.Builtins
1515

1616
from CallNode call, ControlFlowNode func
1717
where
18-
major_version() = 2 and call.getFunction() = func and func.pointsTo(TBuiltinFunctionObject(Builtin::special("apply")))
19-
select call, "Call to the obsolete builtin function 'apply'."
18+
major_version() = 2 and call.getFunction() = func and func.pointsTo(TBuiltinFunctionObject(Builtin::builtin("apply")))
19+
select call, "Call to the obsolete builtin function 'apply'."

0 commit comments

Comments
 (0)