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

Member predicate API::CallNode::getNumArgument

Gets the number of positional arguments of this call.

Note: This is used for WithArity[<n>] in modeling-as-data, where we thought including keyword arguments didn’t make much sense.

int getNumArgument()