Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for Python
codeql/python-all 4.0.9 (changelog, source)

Member predicate BuiltinMethodObjectInternal::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)