CodeQL library for Python
codeql/python-all 0.12.1 (changelog, source)
Search

Member predicate FunctionObject::getArgumentForCall

Gets the ControlFlowNode that will be passed as the nth argument to this when called at call. This predicate will correctly handle x.y(), treating x as the zeroth argument.

ControlFlowNode getArgumentForCall(CallNode call, int n)