CodeQL library for Python
codeql/python-all 1.0.3-dev (changelog, source)

Member predicate SysVersionInfoObjectInternal::functionAndOffset

Holds if the object function is called when this object is called and paramOffset is the difference from the parameter position and the argument position. For a normal function paramOffset is 0. For classes and bound-methods it is 1. This is used to implement the CallableValue public API.

predicate functionAndOffset(CallableObjectInternal function, int offset)