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

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