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

Member predicate SpecificInstanceInternal::descriptorGetInstance

Holds if the result of attribute access on an instance of a class holding this descriptor is value, originating at origin For example, with T.__dict__['name'] = classmethod(f), T().name is a bound-method, binding f and T

predicate descriptorGetInstance(ObjectInternal instance, ObjectInternal value, CfgOrigin origin)