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

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