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.
builtin
special
1 parent 3b45fbc commit b665f54Copy full SHA for b665f54
1 file changed
python/ql/src/Expressions/UseofApply.ql
@@ -15,5 +15,5 @@ private import semmle.python.types.Builtins
15
16
from CallNode call, ControlFlowNode func
17
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'."
+major_version() = 2 and call.getFunction() = func and func.pointsTo(TBuiltinFunctionObject(Builtin::builtin("apply")))
+select call, "Call to the obsolete builtin function 'apply'."
0 commit comments